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;