Merge pull request #62623 from michaelpj/fix/localtime-geoclue
localtime: set geoclue config
This commit is contained in:
commit
cc5ec447a0
1 changed files with 7 additions and 1 deletions
|
@ -20,7 +20,13 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.geoclue2.enable = true;
|
||||
services.geoclue2 = {
|
||||
enable = true;
|
||||
appConfig."localtime" = {
|
||||
isAllowed = true;
|
||||
isSystem = true;
|
||||
};
|
||||
};
|
||||
|
||||
# so polkit will pick up the rules
|
||||
environment.systemPackages = [ pkgs.localtime ];
|
||||
|
|
Loading…
Reference in a new issue