mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Fix night-light
This commit is contained in:
parent
18fa79a0fc
commit
1dca7aa6f4
10 changed files with 43 additions and 31 deletions
|
|
@ -8,5 +8,6 @@
|
|||
./git.nix
|
||||
./equalizer
|
||||
./sops.nix
|
||||
./night-light.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
12
modules/home/night-light.nix
Normal file
12
modules/home/night-light.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
options.myConfig.night-light.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.myConfig.night-light.enable {
|
||||
services.gammastep = {
|
||||
enable = true;
|
||||
provider = "geoclue2";
|
||||
settings.general.adjustment-method = "wayland";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue