mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-26 14:04:52 +00:00
Merge pull request #62624 from michaelpj/fix/redshift-geoclue
redshift: add geoclue config
This commit is contained in:
commit
87ec4fa2d1
@ -119,7 +119,13 @@ in {
|
|||||||
# needed so that .desktop files are installed, which geoclue cares about
|
# needed so that .desktop files are installed, which geoclue cares about
|
||||||
environment.systemPackages = [ cfg.package ];
|
environment.systemPackages = [ cfg.package ];
|
||||||
|
|
||||||
services.geoclue2.enable = mkIf (cfg.provider == "geoclue2") true;
|
services.geoclue2 = mkIf (cfg.provider == "geoclue2") {
|
||||||
|
enable = true;
|
||||||
|
appConfig."redshift" = {
|
||||||
|
isAllowed = true;
|
||||||
|
isSystem = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
systemd.user.services.redshift =
|
systemd.user.services.redshift =
|
||||||
let
|
let
|
||||||
|
Loading…
Reference in New Issue
Block a user