window-manager: run redshift on login screen
Alan Pearce alan@alanpearce.eu
Sat, 28 Sep 2019 20:27:59 +0200
1 files changed, 9 insertions(+), 0 deletions(-)
M modules/programs/window-manager.nix → modules/programs/window-manager.nix
@@ -22,6 +22,15 @@ time = 5; }; }; + 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