mullvad
This commit is contained in:
parent
910a5c8ec0
commit
b8ecf74ed9
2 changed files with 3 additions and 20 deletions
|
|
@ -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;
|
||||
|
|
|
|||
1
home.nix
1
home.nix
|
|
@ -138,6 +138,7 @@ in
|
|||
helm
|
||||
inotify-tools
|
||||
libreoffice-qt-fresh
|
||||
mullvad-vpn
|
||||
]);
|
||||
|
||||
home.file = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue