h: only allow nix usage by root
This commit is contained in:
parent
3c2e027352
commit
531c74f4de
@ -72,6 +72,13 @@ in
|
||||
kernelParams = [ "net.ifnames=0" ];
|
||||
};
|
||||
|
||||
nix = {
|
||||
settings = {
|
||||
allowed-users = lib.mkForce [ "root" ];
|
||||
trusted-users = lib.mkForce [ "root" ];
|
||||
};
|
||||
};
|
||||
|
||||
tailscale.sshOnly = true;
|
||||
|
||||
nixpkgs.overlays = [
|
||||
|
Loading…
Reference in New Issue
Block a user