This commit is contained in:
mehbark 2025-09-11 01:06:22 -04:00
parent 910a5c8ec0
commit b8ecf74ed9
2 changed files with 3 additions and 20 deletions

View file

@ -238,26 +238,8 @@ in
# STILL MILES BETTER THAN NIX_AUTO_INSTALL THOUGH
environment.variables.NIX_AUTO_RUN = "1";
services.xserver.windowManager.xmonad = if conf.wm == "xmonad"
then {
enable = true;
enableContribAndExtras = true;
} else {};
services.xserver.displayManager.sessionCommands = if conf.wm == "xmonad"
then ''
xset -dpms
xset s blank
xset s 300
${pkgs.lightlocker}/bin/lightlocker --idle-hint &
'' else "";
systemd.targets.hybrid-sleep.enable = conf.wm == "xmonad";
services.logind.extraConfig = if conf.wm == "xmonad"
then ''
IdleAction=hybrid-sleep
IdleActionSec=20s
'' else "";
services.mullvad-vpn.enable = true;
services.resolved.enable = true;
services.syncthing = {
enable = true;

View file

@ -138,6 +138,7 @@ in
helm
inotify-tools
libreoffice-qt-fresh
mullvad-vpn
]);
home.file = {