Compare commits

..

2 Commits

Author SHA1 Message Date
a73446c9fe update nixos 2021-08-30 13:02:45 +02:00
ce44a334cc Force enable unified cgroup hierarchy.
Otherwise systemd's MaxMemory setting is silently ignored.
2021-08-30 13:01:09 +02:00
2 changed files with 5 additions and 3 deletions

@ -51,6 +51,8 @@
virtualisation.lxd.recommendedSysctlSettings = true;
virtualisation.lxc.lxcfs.enable = true;
systemd.enableUnifiedCgroupHierarchy = pkgs.lib.mkForce true;
boot.kernel.sysctl = {
"kernel.perf_event_paranoid" = "0";
"kernel.kptr_restrict" = pkgs.lib.mkForce "0";

@ -17,11 +17,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1629880049,
"narHash": "sha256-HOxVkROGlDA57D0Tg/0nus938o4HzmqacOiCoT1H5tE=",
"lastModified": 1630074300,
"narHash": "sha256-BFM7OiXRs0RvSUZd6NCGAKWVPn3VodgYQ4TUQXxbMBU=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "88226ea038e538e09c272a7c56ba73c3f5eed57f",
"rev": "21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28",
"type": "github"
},
"original": {