From b9af8abe959b510a5ef04f4089de4a67890d2b52 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 7 Jul 2024 01:45:13 -0400 Subject: [PATCH] home: remove startupApps --- homeManagerModules/desktop/default.nix | 1 - homeManagerModules/desktop/startupApps.nix | 24 ---------------------- homeManagerModules/options.nix | 6 ------ homes/aly/default.nix | 2 +- 4 files changed, 1 insertion(+), 32 deletions(-) delete mode 100644 homeManagerModules/desktop/startupApps.nix diff --git a/homeManagerModules/desktop/default.nix b/homeManagerModules/desktop/default.nix index d0aa658b..4a8d2e27 100644 --- a/homeManagerModules/desktop/default.nix +++ b/homeManagerModules/desktop/default.nix @@ -10,7 +10,6 @@ ./gnome ./hyprland ./sway - ./startupApps.nix ./waylandComp.nix ]; diff --git a/homeManagerModules/desktop/startupApps.nix b/homeManagerModules/desktop/startupApps.nix deleted file mode 100644 index c1fe6b4c..00000000 --- a/homeManagerModules/desktop/startupApps.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ - pkgs, - lib, - config, - ... -}: { - ## Hyprland - wayland.windowManager.hyprland.extraConfig = '' - ${ - lib.strings.concatMapStringsSep - "\n" - (app: "exec-once = sleep 1 && ${app}") - config.ar.home.desktop.startupApps - } - ''; - - ## Sway - - # dconf = { - # enable = true; - # settings = { - # }; - # }; -} diff --git a/homeManagerModules/options.nix b/homeManagerModules/options.nix index 520c408d..35518fa7 100644 --- a/homeManagerModules/options.nix +++ b/homeManagerModules/options.nix @@ -204,12 +204,6 @@ in { type = lib.types.bool; }; }; - - startupApps = lib.mkOption { - description = "Apps to launch at startup"; - default = []; - type = lib.types.listOf (lib.types.str); - }; }; services = { diff --git a/homes/aly/default.nix b/homes/aly/default.nix index c726a379..b091328d 100644 --- a/homes/aly/default.nix +++ b/homes/aly/default.nix @@ -49,6 +49,7 @@ }; wayland.windowManager.hyprland.extraConfig = '' + exec-once = sleep 1 && ${lib.getExe' pkgs.keepassxc "keepassxc"} bind = SUPER, P, exec, ${lib.getExe' pkgs.keepassxc "keepassxc"} windowrulev2 = center(1),class:(org.keepassxc.KeePassXC) windowrulev2 = float,class:(org.keepassxc.KeePassXC) @@ -70,7 +71,6 @@ }; defaultApps.enable = true; - desktop.startupApps = [(lib.getExe' pkgs.keepassxc "keepassxc")]; theme = { enable = true;