Split generic parts out of machine-confs/helium.nix

This commit is contained in:
Vili Sinervä 2024-06-06 21:12:13 +03:00
parent d354c5d205
commit 39d8043ed0
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996
7 changed files with 172 additions and 136 deletions

23
services/redshift.nix Normal file
View 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;
};
}