Merge pull request #62623 from michaelpj/fix/localtime-geoclue
localtime: set geoclue config
This commit is contained in:
commit
cc5ec447a0
@ -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 New Issue
Block a user