diff options
author | Alan Pearce | 2019-09-28 20:27:59 +0200 |
---|---|---|
committer | Alan Pearce | 2019-09-28 22:16:43 +0200 |
commit | 94f54fad3d8180a7449e202066ba0f8a668507fd (patch) | |
tree | 72113f70edb574777f9d540e9ce3ff95f4a8f63e | |
parent | 83576e0142e1973411ddb635af07e73e8c35372c (diff) | |
download | nixos-configuration-94f54fad3d8180a7449e202066ba0f8a668507fd.tar.lz nixos-configuration-94f54fad3d8180a7449e202066ba0f8a668507fd.tar.zst nixos-configuration-94f54fad3d8180a7449e202066ba0f8a668507fd.zip |
window-manager: run redshift on login screen
-rw-r--r-- | modules/programs/window-manager.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/programs/window-manager.nix b/modules/programs/window-manager.nix index 1d3501f..12fc044 100644 --- a/modules/programs/window-manager.nix +++ b/modules/programs/window-manager.nix @@ -22,6 +22,15 @@ }; }; + services.xserver.displayManager.setupCommands = '' + ${pkgs.redshift}/bin/redshift \ + -l ${toString config.services.redshift.latitude}:${toString config.services.redshift.longitude} \ + -t ${toString config.services.redshift.temperature.day}:${toString config.services.redshift.temperature.night} \ + -b 1:1 \ + -o \ + -r \ + ''; + environment.systemPackages = with pkgs; [ dmenu dunst |