disallow non-root users from using the nix daemon
This commit is contained in:
@@ -128,4 +128,6 @@
|
||||
"browser.ping-centre.telemetry" = false;
|
||||
"devtools.onboarding.telemetry.logged" = false;
|
||||
"accessibility.force_disabled" = 1;
|
||||
# Don't have speech-dispatcher (speechd) enabled, so this wont work
|
||||
"media.webspeech.synth.enabled" = false;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@ in
|
||||
|
||||
nix = {
|
||||
optimise.automatic = cfg.optimise;
|
||||
settings.allowed-users = [ "root" "@wheel" ];
|
||||
settings.experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
|
||||
Reference in New Issue
Block a user