From d0e0038437af2f966eb1b5f4ae069b806fd290ba Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Wed, 10 Jul 2024 22:12:28 +0200 Subject: [PATCH] add formtatter --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 1df2893..c80ad36 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,7 @@ description = "jopejoe1 NixOS configuration"; inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; # Outputs nixos-generators = { @@ -77,5 +77,8 @@ inherit system inputs; pkgs = nixpkgs.legacyPackages.${system}; }); + formatter = nixpkgs.lib.attrsets.genAttrs nixpkgs.lib.systems.flakeExposed (system: + nixpkgs.legacyPackages.${system}.nixfmt-rfc-style + ); }; }