mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
feat: add cgroup1 specialisation
This commit is contained in:
parent
b86fdac9a4
commit
66971d2377
3 changed files with 16 additions and 6 deletions
|
|
@ -6430,7 +6430,14 @@ Integrates 1password mostly. There are more options at [[#h:f0b2ea93-94c8-48d8-8
|
||||||
docker
|
docker
|
||||||
];
|
];
|
||||||
|
|
||||||
|
specialisation = {
|
||||||
|
cgroup_v1.configuration = {
|
||||||
|
boot.kernelParams = [
|
||||||
|
"SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1"
|
||||||
|
"systemd.unified_cgroup_hierarchy=0"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,10 +13,6 @@
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
boot.kernelParams = [
|
|
||||||
"SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1"
|
|
||||||
"systemd.unified_cgroup_hierarchy=0"
|
|
||||||
];
|
|
||||||
boot.initrd.luks.devices."cryptroot" = {
|
boot.initrd.luks.devices."cryptroot" = {
|
||||||
# improve performance on ssds
|
# improve performance on ssds
|
||||||
bypassWorkqueues = true;
|
bypassWorkqueues = true;
|
||||||
|
|
|
||||||
|
|
@ -12,5 +12,12 @@
|
||||||
docker
|
docker
|
||||||
];
|
];
|
||||||
|
|
||||||
|
specialisation = {
|
||||||
|
cgroup_v1.configuration = {
|
||||||
|
boot.kernelParams = [
|
||||||
|
"SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1"
|
||||||
|
"systemd.unified_cgroup_hierarchy=0"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue