modules/system/sane-defaults: enable cgroups
This commit is contained in:
parent
50c9f7a715
commit
68619bbb1c
1 changed files with 9 additions and 0 deletions
|
@ -108,6 +108,15 @@ let
|
|||
boot.kernel.sysctl."kernel.yama.ptrace_scope" = 0;
|
||||
|
||||
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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue