add formatter

This commit is contained in:
Simon Gardling 2025-03-22 17:40:48 -04:00
parent 0d40e2757a
commit 1d76c06fac
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D
2 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,7 @@
];
in
{
formatter.${system} = nixpkgs.legacyPackages.${system}.nixfmt-rfc-style;
nixosConfigurations = nixpkgs.lib.foldl' (
config: hostname:
config

View File

@ -64,6 +64,7 @@
pkgs = (import nixpkgs { });
in
{
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
homeConfigurations."${username}" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {