Added gammastep config
This commit is contained in:
parent
b8140d086a
commit
4536c79c68
25
modules/desktop/addons/gammastep/default.nix
Normal file
25
modules/desktop/addons/gammastep/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -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
|
||||
|
|
|
@ -87,8 +87,6 @@
|
|||
file
|
||||
];
|
||||
|
||||
services.geoclue2.enable = true;
|
||||
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue