ADD : redshift

This commit is contained in:
Alexandre LUCAZEAU 2022-04-11 18:38:24 +02:00
parent d10b6cd6b3
commit 2bae059f01
No known key found for this signature in database
GPG Key ID: 3C8ADB07A8217BD3
2 changed files with 21 additions and 0 deletions

View File

@ -9,6 +9,7 @@
./emacs.nix
./mails.nix
./dunst.nix
./redshift.nix
];
home.keyboard = {
layout = "fr";

20
DELL/nixpkgs/redshift.nix Normal file
View File

@ -0,0 +1,20 @@
{ config, pkgs, callPackage, ... }:
{
# Does not work well imho.
services.redshift = {
enable = true;
temperature = {
day = 5500;
night = 4500;
};
brightness = {
day = "1.0";
night = "0.9";
};
latitude = "45.7715988159";
longitude = "-1.13960003853";
};
}