gammastep
This commit is contained in:
parent
f0354690b5
commit
96c27a348f
2 changed files with 22 additions and 0 deletions
21
modules/desktop/gammastep.nix
Normal file
21
modules/desktop/gammastep.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.desktop.gammastep;
|
||||
in {
|
||||
options.modules.desktop.gammastep = {
|
||||
enable = mkEnableOption "Enable gammastep, a blue-light filter for Wayland desktop environments";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
hm.wayland.windowManager.hyprland.settings.exec-once = [ "${pkgs.gammastep}/bin/gammastep-indicator" ];
|
||||
hm.services.gammastep = {
|
||||
enable = true;
|
||||
# portland, oregon
|
||||
latitude = 45.3112;
|
||||
longitude = -122.4055;
|
||||
provider = "manual";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue