🐛 nix flake check should not fail because of formating

This commit is contained in:
Ingolf Wagner 2025-01-19 09:54:01 +13:00
parent cea5fae7ea
commit dbd7cc2648
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 9 additions and 8 deletions
machines/orbi/hardware-configuration
nix

View file

@ -38,13 +38,13 @@
autoScrub.enable = true;
};
# Because of https://github.com/NixOS/nixpkgs/issues/361006#issuecomment-2598059564
# The default max inotify watches is 8192.
# Nowadays most apps require a good number of inotify watches,
# the value below is used by default on several other distros.
boot.kernel.sysctl = {
"fs.inotify.max_user_instances" = lib.mkDefault 524288;
"fs.inotify.max_user_watches" = lib.mkDefault 524288;
};
# Because of https://github.com/NixOS/nixpkgs/issues/361006#issuecomment-2598059564
# The default max inotify watches is 8192.
# Nowadays most apps require a good number of inotify watches,
# the value below is used by default on several other distros.
boot.kernel.sysctl = {
"fs.inotify.max_user_instances" = lib.mkDefault 524288;
"fs.inotify.max_user_watches" = lib.mkDefault 524288;
};
}

View file

@ -4,6 +4,7 @@
perSystem = _: {
treefmt = {
flakeCheck = false;
# https://flake.parts/options/treefmt-nix
projectRootFile = ".git/config";
programs.nixfmt.enable = true;