nixos/installer/tools: enable run0 module
The run0 module now enables polkit and properly reflects the intent behind the `enableRun0Elevation` option.
This commit is contained in:
@@ -330,7 +330,7 @@ in
|
||||
'';
|
||||
|
||||
config = lib.mkIf config.system.tools.nixos-rebuild.enableRun0Elevation {
|
||||
security.polkit.enable = lib.mkDefault true;
|
||||
security.run0.enable = lib.mkDefault true;
|
||||
environment.systemPackages = [ pkgs.polkit-stdin-agent ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user