Add nixfmt

This commit is contained in:
Tim Van Baak 2024-09-21 12:48:24 -07:00
parent 40464e9078
commit 75c13a21dc
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@
inherit (nixpkgs.lib) makeOverridable nixosSystem; inherit (nixpkgs.lib) makeOverridable nixosSystem;
system = "x86_64-linux"; system = "x86_64-linux";
in { in {
formatter.${system} = nixpkgs.legacyPackages.${system}.nixfmt-rfc-style;
packages.${system} = let packages.${system} = let
pkgs = (import nixpkgs { pkgs = (import nixpkgs {
inherit system; inherit system;