redshift/gammastep: fix deprecated options warning (#1804)

It was not working since I forgot to inherit imports from commonOptions.
This commit is contained in:
Thiago Kenji Okada 2021-02-17 01:19:28 -03:00 committed by GitHub
parent 1ee1d01daa
commit 2e795f3efd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ let
};
in {
meta = commonOptions.meta;
inherit (commonOptions) imports meta;
options.services.gammastep = commonOptions.options;
config = mkIf config.services.gammastep.enable commonOptions.config;
}

View file

@ -18,7 +18,7 @@ let
};
in {
meta = commonOptions.meta;
inherit (commonOptions) imports meta;
options.services.redshift = commonOptions.options;
config = mkIf config.services.redshift.enable commonOptions.config;
}