mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 00:53:55 -05:00
home: remove startupApps
This commit is contained in:
parent
c8f162cf3b
commit
b9af8abe95
|
@ -10,7 +10,6 @@
|
|||
./gnome
|
||||
./hyprland
|
||||
./sway
|
||||
./startupApps.nix
|
||||
./waylandComp.nix
|
||||
];
|
||||
|
||||
|
|
|
@ -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 = {
|
||||
# };
|
||||
# };
|
||||
}
|
|
@ -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 = {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue