modules/system/sane-defaults: enable cgroups
All checks were successful
/ check (push) Successful in 1m32s
All checks were successful
/ check (push) Successful in 1m32s
This commit is contained in:
parent
63aa389f6c
commit
fc5c79b125
1 changed files with 9 additions and 0 deletions
|
@ -108,6 +108,15 @@ let
|
||||||
boot.kernel.sysctl."kernel.yama.ptrace_scope" = 0;
|
boot.kernel.sysctl."kernel.yama.ptrace_scope" = 0;
|
||||||
|
|
||||||
settei.user.config.services.ssh-agent.enable = true;
|
settei.user.config.services.ssh-agent.enable = true;
|
||||||
|
|
||||||
|
nix.settings = {
|
||||||
|
experimental-features = [ "cgroups" ];
|
||||||
|
use-cgroups = true;
|
||||||
|
};
|
||||||
|
systemd.services.nix-daemon.serviceConfig = {
|
||||||
|
Delegate = "yes";
|
||||||
|
DelegateSubgroup = "supervisor";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
darwinConfig = lib.optionalAttrs (!isLinux) {
|
darwinConfig = lib.optionalAttrs (!isLinux) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue