add recommended lxd settings

This commit is contained in:
Gabriel Ebner 2020-11-21 11:50:32 +01:00
parent 41916a2e03
commit 4d7509f336
2 changed files with 8 additions and 6 deletions

View File

@ -45,13 +45,15 @@
};
virtualisation.lxd.enable = true;
virtualisation.lxd.recommendedSysctlSettings = true;
virtualisation.lxc.lxcfs.enable = true;
boot.kernel.sysctl = {
"kernel.perf_event_paranoid" = "0";
"kernel.kptr_restrict" = pkgs.lib.mkForce "0";
# IntelliJ
"fs.inotify.max_user_watches" = 524288;
"fs.inotify.max_user_watches" = pkgs.lib.mkDefault 524288;
};
# gapt: `ulimit -n` was 256

View File

@ -14,11 +14,11 @@
goldendict
xournal
(xournalpp.overrideDerivation (_: {
patches = [
./xournalpp-cursor-blink.patch
];
}))
# (xournalpp.overrideDerivation (_: {
# patches = [
# ./xournalpp-cursor-blink.patch
# ];
# }))
vscode
ccls