parent
cea5fae7ea
commit
dbd7cc2648
2 changed files with 9 additions and 8 deletions
|
@ -38,13 +38,13 @@
|
||||||
autoScrub.enable = true;
|
autoScrub.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Because of https://github.com/NixOS/nixpkgs/issues/361006#issuecomment-2598059564
|
# Because of https://github.com/NixOS/nixpkgs/issues/361006#issuecomment-2598059564
|
||||||
# The default max inotify watches is 8192.
|
# The default max inotify watches is 8192.
|
||||||
# Nowadays most apps require a good number of inotify watches,
|
# Nowadays most apps require a good number of inotify watches,
|
||||||
# the value below is used by default on several other distros.
|
# the value below is used by default on several other distros.
|
||||||
boot.kernel.sysctl = {
|
boot.kernel.sysctl = {
|
||||||
"fs.inotify.max_user_instances" = lib.mkDefault 524288;
|
"fs.inotify.max_user_instances" = lib.mkDefault 524288;
|
||||||
"fs.inotify.max_user_watches" = lib.mkDefault 524288;
|
"fs.inotify.max_user_watches" = lib.mkDefault 524288;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
perSystem = _: {
|
perSystem = _: {
|
||||||
treefmt = {
|
treefmt = {
|
||||||
|
flakeCheck = false;
|
||||||
# https://flake.parts/options/treefmt-nix
|
# https://flake.parts/options/treefmt-nix
|
||||||
projectRootFile = ".git/config";
|
projectRootFile = ".git/config";
|
||||||
programs.nixfmt.enable = true;
|
programs.nixfmt.enable = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue