Merge pull request #62623 from michaelpj/fix/localtime-geoclue

localtime: set geoclue config
This commit is contained in:
worldofpeace 2019-06-04 22:36:28 -04:00 committed by GitHub
commit cc5ec447a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ];