mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 06:59:45 +01:00
redshift/gammastep: fix deprecated options warning (#1804)
It was not working since I forgot to inherit imports from commonOptions.
This commit is contained in:
parent
1ee1d01daa
commit
2e795f3efd
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
in {
|
in {
|
||||||
meta = commonOptions.meta;
|
inherit (commonOptions) imports meta;
|
||||||
options.services.gammastep = commonOptions.options;
|
options.services.gammastep = commonOptions.options;
|
||||||
config = mkIf config.services.gammastep.enable commonOptions.config;
|
config = mkIf config.services.gammastep.enable commonOptions.config;
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
in {
|
in {
|
||||||
meta = commonOptions.meta;
|
inherit (commonOptions) imports meta;
|
||||||
options.services.redshift = commonOptions.options;
|
options.services.redshift = commonOptions.options;
|
||||||
config = mkIf config.services.redshift.enable commonOptions.config;
|
config = mkIf config.services.redshift.enable commonOptions.config;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue