Replace alejandra with nixfmt rfc candidate.

This commit is contained in:
Kevin Baensch 2024-11-19 23:17:51 +01:00
parent 44237e65ae
commit ce3b1496bf
Signed by: derped
GPG key ID: C0F1D326C7626543

View file

@ -8,10 +8,6 @@
nixos-hardware.url = "github:NixOS/nixos-hardware/master"; nixos-hardware.url = "github:NixOS/nixos-hardware/master";
impermanence.url = "github:nix-community/impermanence"; impermanence.url = "github:nix-community/impermanence";
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
alejandra = {
url = "github:kamadorueda/alejandra/3.0.0";
inputs.nixpkgs.follows = "nixpkgs";
};
mailserver.url = "gitlab:/simple-nixos-mailserver/nixos-mailserver"; mailserver.url = "gitlab:/simple-nixos-mailserver/nixos-mailserver";
sops-nix = { sops-nix = {
url = "github:Mic92/sops-nix"; url = "github:Mic92/sops-nix";
@ -22,7 +18,6 @@
self, self,
nixpkgs, nixpkgs,
flake-utils, flake-utils,
alejandra,
mailserver, mailserver,
sops-nix, sops-nix,
... ...
@ -84,7 +79,7 @@
program = "${pkgs.statix}/bin/statix"; program = "${pkgs.statix}/bin/statix";
}; };
}; };
formatter = alejandra.defaultPackage."${system}"; formatter = pkgs.nixfmt-rfc-style;
packages.nixosConfigurations = lib.listToAttrs (map nixosSystemFor machineList); packages.nixosConfigurations = lib.listToAttrs (map nixosSystemFor machineList);
} }
); );