home: remove startupApps

This commit is contained in:
Aly Raffauf 2024-07-07 01:45:13 -04:00
parent c8f162cf3b
commit b9af8abe95
4 changed files with 1 additions and 32 deletions

View file

@ -10,7 +10,6 @@
./gnome ./gnome
./hyprland ./hyprland
./sway ./sway
./startupApps.nix
./waylandComp.nix ./waylandComp.nix
]; ];

View file

@ -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 = {
# };
# };
}

View file

@ -204,12 +204,6 @@ in {
type = lib.types.bool; type = lib.types.bool;
}; };
}; };
startupApps = lib.mkOption {
description = "Apps to launch at startup";
default = [];
type = lib.types.listOf (lib.types.str);
};
}; };
services = { services = {

View file

@ -49,6 +49,7 @@
}; };
wayland.windowManager.hyprland.extraConfig = '' wayland.windowManager.hyprland.extraConfig = ''
exec-once = sleep 1 && ${lib.getExe' pkgs.keepassxc "keepassxc"}
bind = SUPER, P, exec, ${lib.getExe' pkgs.keepassxc "keepassxc"} bind = SUPER, P, exec, ${lib.getExe' pkgs.keepassxc "keepassxc"}
windowrulev2 = center(1),class:(org.keepassxc.KeePassXC) windowrulev2 = center(1),class:(org.keepassxc.KeePassXC)
windowrulev2 = float,class:(org.keepassxc.KeePassXC) windowrulev2 = float,class:(org.keepassxc.KeePassXC)
@ -70,7 +71,6 @@
}; };
defaultApps.enable = true; defaultApps.enable = true;
desktop.startupApps = [(lib.getExe' pkgs.keepassxc "keepassxc")];
theme = { theme = {
enable = true; enable = true;