Added gammastep config

This commit is contained in:
Alejandro Angulo 2023-03-19 18:50:22 -07:00
parent b8140d086a
commit 4536c79c68
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
3 changed files with 28 additions and 3 deletions

View file

@ -0,0 +1,25 @@
{
options,
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.aa.desktop.addons.gammastep;
in {
options.aa.desktop.addons.gammastep = with types; {
enable = mkEnableOption "gammastep";
};
config = mkIf cfg.enable {
services.geoclue2.enable = true;
aa.home.extraOptions = {
services.gammastep = {
enable = true;
provider = "geoclue2";
};
};
};
}

View file

@ -27,9 +27,11 @@ in {
aa.desktop.addons = {
alacritty.enable = true;
fonts.enable = true;
gammastep.enable = true;
mako.enable = true;
rofi.enable = true;
waybar.enable = true;
mako.enable = true;
# TODO
# playerctl

View file

@ -87,8 +87,6 @@
file
];
services.geoclue2.enable = true;
security.rtkit.enable = true;
services.pipewire = {
enable = true;