Split generic parts out of machine-confs/helium.nix
This commit is contained in:
parent
d354c5d205
commit
39d8043ed0
7 changed files with 172 additions and 136 deletions
23
services/redshift.nix
Normal file
23
services/redshift.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Redshift bluelight reducer
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
services = {
|
||||
redshift = {
|
||||
executable = "/bin/redshift-gtk";
|
||||
enable = true;
|
||||
temperature = {
|
||||
night = 2800;
|
||||
day = 6500;
|
||||
};
|
||||
brightness = {
|
||||
night = "0.5";
|
||||
day = "1";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
location = {
|
||||
latitude = 60.17;
|
||||
longitude = 24.94;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue