1
0

Add redshift

This commit is contained in:
dump_stack() 2019-06-21 18:58:57 +00:00
parent 82aab2ccc2
commit 03a1239214
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -1,6 +1,8 @@
{ config, pkgs, ... }:
{
let
secrets = import ./secrets.nix;
in {
services.xserver.enable = true;
services.xserver.layout = "us,ru";
services.xserver.xkbOptions = "ctrl:nocaps,grp:rctrl_toggle";
@ -8,6 +10,12 @@
services.xserver.windowManager.xmonad.enable = true;
services.xserver.windowManager.xmonad.enableContribAndExtras = true;
services.redshift = {
enable = true;
latitude = secrets.latitude;
longitude = secrets.longitude;
};
programs.dconf.enable = true;
programs.light.enable = true;