1

Home: Enable hyprland + niri depending on their system module state

This commit is contained in:
2025-12-26 13:07:07 +01:00
parent cec5ec5493
commit 0d20883f4f
2 changed files with 3 additions and 2 deletions

View File

@ -98,7 +98,7 @@ in
}; };
hyprland = { hyprland = {
enable = false; enable = nixosConfig.programs.hyprland.enable;
dunst.enable = !config.modules.hyprpanel.enable; # Disable for hyprpanel dunst.enable = !config.modules.hyprpanel.enable; # Disable for hyprpanel
bars.enable = false; bars.enable = false;
dynamicCursor.enable = false; dynamicCursor.enable = false;
@ -291,7 +291,7 @@ in
neovide = !headless; neovide = !headless;
}; };
niri.enable = !headless; niri.enable = nixosConfig.programs.niri.enable;
nnn.enable = false; # Use yazi nnn.enable = false; # Use yazi
qutebrowser.enable = !headless; qutebrowser.enable = !headless;
rmpc.enable = !headless; rmpc.enable = !headless;

View File

@ -131,6 +131,7 @@
}; };
# Keep this as a system service because we're backing up /persist as root # Keep this as a system service because we're backing up /persist as root
# TODO: The repository gets corrupted all the time, maybe because the service runs before the repository is mounted?
restic.backups."synology" = { restic.backups."synology" = {
# user = "${username}"; # Keep default (root), so restic can read everything # user = "${username}"; # Keep default (root), so restic can read everything