From b93a73ba98e94cbb971dce6554c7c55bce517c0e Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Sun, 26 Jul 2026 22:28:14 +0530 Subject: feat: replace feh with swayimg, refactor waybar icons and window rewrites - Replace feh module with swayimg (Wayland-native image viewer with Lua config) - Extract shared app icons into waybar lib, switch to title-based matching in window module - Remove gnome-keyring wrapper from ente-auth, drop custom desktop entry - Clean up bluetui/impala desktop entries (lowercase name, drop --class flag) - Add PASSWORD_STORE_DIR session variable to gopass - Switch Chromium to True Amoled Black theme --- modules/security/enteauth/default.nix | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) (limited to 'modules/security/enteauth/default.nix') diff --git a/modules/security/enteauth/default.nix b/modules/security/enteauth/default.nix index a883d1a..d2c8a1d 100644 --- a/modules/security/enteauth/default.nix +++ b/modules/security/enteauth/default.nix @@ -5,30 +5,12 @@ pkgs, ... }: -let - enteAuthWithKeyring = pkgs.symlinkJoin { - name = "ente-auth-wrapped"; - paths = [ pkgs.ente-auth ]; - buildInputs = [ pkgs.makeWrapper ]; - postBuild = '' - wrapProgram $out/bin/enteauth \ - --prefix PATH : ${ - lib.makeBinPath [ - pkgs.gnome-keyring - pkgs.dbus - ] - } \ - --run "echo 'password' | ${pkgs.gnome-keyring}/bin/gnome-keyring-daemon --unlock --components=secrets" - - ''; - }; -in { options.security.enteauth = { enable = lib.mkEnableOption "Enables wrapped ente-auth with automated keyring unlocks and a desktop entry."; package = lib.mkOption { type = lib.types.package; - default = enteAuthWithKeyring; + default = pkgs.ente-auth; description = "The customized version of ente-auth with a self-unlocking daemon backend."; }; }; @@ -36,20 +18,6 @@ in config = lib.mkIf config.security.enteauth.enable { home.packages = [ config.security.enteauth.package ]; - xdg.desktopEntries."enteauth" = { - name = "Ente Auth"; - exec = "enteauth"; - icon = "io.ente.auth"; - comment = "End-to-end encrypted 2FA authenticator"; - genericName = "2FA Authenticator"; - categories = [ - "Utility" - "Security" - ]; - terminal = false; - type = "Application"; - }; - xdg.mimeApps.defaultApplications = { "x-scheme-handler/enteauth" = "enteauth.desktop"; }; -- cgit v1.2.3