Add dev shell with nixfmt
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
|||||||
|
.direnv/
|
||||||
*.qcow2
|
*.qcow2
|
||||||
result
|
result
|
||||||
10
flake.nix
10
flake.nix
@@ -75,5 +75,15 @@
|
|||||||
modules = [ ./hosts/test-vm/configuration.nix ];
|
modules = [ ./hosts/test-vm/configuration.nix ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
devShells = let
|
||||||
|
system = "x86_64-linux";
|
||||||
|
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
${system}.default = pkgs.mkShell {
|
||||||
|
packages = [ pkgs.nixfmt-rfc-style ];
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user