fix: move to nixfmt-rfc-style instead of nixpkgs-fmt

This commit is contained in:
Alexandre Cavalheiro S. Tiago da Silva 2024-06-24 03:20:30 -03:00
parent 5ad03ee2e8
commit ecbe0c069c
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
14 changed files with 184 additions and 83 deletions

View file

@ -10,9 +10,17 @@
};
};
outputs = { self, home-manager, nixpkgs, ... }@inputs:
let system = "x86_64-linux";
in {
outputs =
{
self,
home-manager,
nixpkgs,
...
}@inputs:
let
system = "x86_64-linux";
in
{
nixosConfigurations."nixos" =
let
specialArgs = inputs;
@ -31,6 +39,6 @@
in
nixpkgs.lib.nixosSystem { inherit system specialArgs modules; };
formatter."${system}" = nixpkgs.legacyPackages.${system}.nixpkgs-fmt;
formatter."${system}" = nixpkgs.legacyPackages.${system}.nixfmt-rfc-style;
};
}