nix cgroups
This commit is contained in:
parent
a46044e805
commit
dfa89ed7c2
@ -12,6 +12,7 @@
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../../profiles/sshd.nix
|
||||
../../../profiles/nix-cgroups.nix
|
||||
|
||||
../../../users/pbsds
|
||||
../../../users/daniel
|
||||
|
@ -14,6 +14,7 @@
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../../profiles/sshd.nix
|
||||
../../../profiles/nix-cgroups.nix
|
||||
|
||||
../../../users/pbsds
|
||||
../../../users/bartvbl
|
||||
|
@ -23,6 +23,7 @@
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../../profiles/sshd.nix
|
||||
../../../profiles/nix-cgroups.nix
|
||||
#../../../profiles/no-suspend.nix
|
||||
#../../../profiles/oci/podman.nix
|
||||
../../../profiles/oci/docker.nix
|
||||
|
7
profiles/nix-cgroups.nix
Normal file
7
profiles/nix-cgroups.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
# using cgroups for the nix sandbox is a bit slower, but more secure
|
||||
nix.settings.use-cgroups = true;
|
||||
nix.settings.experimental-features = [
|
||||
"cgroups"
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue
Block a user