Converted gammastep module to home module
This commit is contained in:
parent
0862244fd2
commit
9c9667e5ef
5 changed files with 30 additions and 30 deletions
|
@ -1,25 +0,0 @@
|
|||
{
|
||||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -37,7 +37,6 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
aa.desktop.addons = {
|
||||
alacritty.enable = true;
|
||||
gammastep.enable = true;
|
||||
|
||||
# TODO
|
||||
# light
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue