add recommended lxd settings
This commit is contained in:
parent
41916a2e03
commit
4d7509f336
@ -45,13 +45,15 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.lxd.enable = true;
|
virtualisation.lxd.enable = true;
|
||||||
|
virtualisation.lxd.recommendedSysctlSettings = true;
|
||||||
|
virtualisation.lxc.lxcfs.enable = true;
|
||||||
|
|
||||||
boot.kernel.sysctl = {
|
boot.kernel.sysctl = {
|
||||||
"kernel.perf_event_paranoid" = "0";
|
"kernel.perf_event_paranoid" = "0";
|
||||||
"kernel.kptr_restrict" = pkgs.lib.mkForce "0";
|
"kernel.kptr_restrict" = pkgs.lib.mkForce "0";
|
||||||
|
|
||||||
# IntelliJ
|
# IntelliJ
|
||||||
"fs.inotify.max_user_watches" = 524288;
|
"fs.inotify.max_user_watches" = pkgs.lib.mkDefault 524288;
|
||||||
};
|
};
|
||||||
|
|
||||||
# gapt: `ulimit -n` was 256
|
# gapt: `ulimit -n` was 256
|
||||||
|
10
large-sw.nix
10
large-sw.nix
@ -14,11 +14,11 @@
|
|||||||
goldendict
|
goldendict
|
||||||
|
|
||||||
xournal
|
xournal
|
||||||
(xournalpp.overrideDerivation (_: {
|
# (xournalpp.overrideDerivation (_: {
|
||||||
patches = [
|
# patches = [
|
||||||
./xournalpp-cursor-blink.patch
|
# ./xournalpp-cursor-blink.patch
|
||||||
];
|
# ];
|
||||||
}))
|
# }))
|
||||||
|
|
||||||
vscode
|
vscode
|
||||||
ccls
|
ccls
|
||||||
|
Loading…
Reference in New Issue
Block a user