diff --git a/flake.nix b/flake.nix index 1668cfa..205c549 100644 --- a/flake.nix +++ b/flake.nix @@ -122,6 +122,7 @@ }}/bin/rebuild ${self} "$@"''}"; }; }; + formatter = pkgs.nixfmt-rfc-style; } ); }; diff --git a/hm/dev/common.nix b/hm/dev/common.nix index 2a71bff..ff1aab4 100644 --- a/hm/dev/common.nix +++ b/hm/dev/common.nix @@ -22,7 +22,7 @@ # nix lix - nixpkgs-fmt + nixfmt-rfc-style # Always on (graphical) ] ++ lib.optionals config.frogeye.desktop.xorg [ @@ -71,7 +71,7 @@ nil_ls = { enable = true; settings = { - formatting.command = [ "nixpkgs-fmt" ]; + formatting.command = [ "nixfmt" ]; nix.flake = { autoArchive = true; autoEvalInputs = true;