From ce3b1496bfdfe3f5ef31c427dcdf58e210041b64 Mon Sep 17 00:00:00 2001 From: derped Date: Tue, 19 Nov 2024 23:17:51 +0100 Subject: [PATCH] Replace alejandra with nixfmt rfc candidate. --- flake.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index 5b11914..a3f86aa 100644 --- a/flake.nix +++ b/flake.nix @@ -8,10 +8,6 @@ nixos-hardware.url = "github:NixOS/nixos-hardware/master"; impermanence.url = "github:nix-community/impermanence"; 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"; sops-nix = { url = "github:Mic92/sops-nix"; @@ -22,7 +18,6 @@ self, nixpkgs, flake-utils, - alejandra, mailserver, sops-nix, ... @@ -84,7 +79,7 @@ program = "${pkgs.statix}/bin/statix"; }; }; - formatter = alejandra.defaultPackage."${system}"; + formatter = pkgs.nixfmt-rfc-style; packages.nixosConfigurations = lib.listToAttrs (map nixosSystemFor machineList); } );