change from mono-home-manager to full flake multi-system configuration
This commit is contained in:
22
home/redshift.nix
Normal file
22
home/redshift.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.homeModules.redshift;
|
||||
in
|
||||
|
||||
lib.mkIf cfg.enable {
|
||||
|
||||
services.redshift = {
|
||||
enable = true;
|
||||
settings.redshift = {
|
||||
brightness-day = "1";
|
||||
brightness-night = "1";
|
||||
};
|
||||
temperature = {
|
||||
day = 5500;
|
||||
night = 3000;
|
||||
};
|
||||
latitude = "48.864716";
|
||||
longitude = "2.349014";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user