Add redshift
This commit is contained in:
parent
82aab2ccc2
commit
03a1239214
10
desktop.nix
10
desktop.nix
@ -1,6 +1,8 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
let
|
||||||
|
secrets = import ./secrets.nix;
|
||||||
|
in {
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
services.xserver.layout = "us,ru";
|
services.xserver.layout = "us,ru";
|
||||||
services.xserver.xkbOptions = "ctrl:nocaps,grp:rctrl_toggle";
|
services.xserver.xkbOptions = "ctrl:nocaps,grp:rctrl_toggle";
|
||||||
@ -8,6 +10,12 @@
|
|||||||
services.xserver.windowManager.xmonad.enable = true;
|
services.xserver.windowManager.xmonad.enable = true;
|
||||||
services.xserver.windowManager.xmonad.enableContribAndExtras = true;
|
services.xserver.windowManager.xmonad.enableContribAndExtras = true;
|
||||||
|
|
||||||
|
services.redshift = {
|
||||||
|
enable = true;
|
||||||
|
latitude = secrets.latitude;
|
||||||
|
longitude = secrets.longitude;
|
||||||
|
};
|
||||||
|
|
||||||
programs.dconf.enable = true;
|
programs.dconf.enable = true;
|
||||||
programs.light.enable = true;
|
programs.light.enable = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user