diff --git a/machines/orbi/hardware-configuration/default.nix b/machines/orbi/hardware-configuration/default.nix index 05857e1..2dd8772 100644 --- a/machines/orbi/hardware-configuration/default.nix +++ b/machines/orbi/hardware-configuration/default.nix @@ -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; + }; } diff --git a/nix/formatter.nix b/nix/formatter.nix index 1ebf0d1..ce6013f 100644 --- a/nix/formatter.nix +++ b/nix/formatter.nix @@ -4,6 +4,7 @@ perSystem = _: { treefmt = { + flakeCheck = false; # https://flake.parts/options/treefmt-nix projectRootFile = ".git/config"; programs.nixfmt.enable = true;