modules/system/sane-defaults: enable cgroups
This commit is contained in:
parent
50c9f7a715
commit
e449ebc6cf
1 changed files with 5 additions and 0 deletions
|
@ -108,6 +108,11 @@ 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;
|
||||
};
|
||||
};
|
||||
|
||||
darwinConfig = lib.optionalAttrs (!isLinux) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue