add formtatter

This commit is contained in:
Johannes Jöns 2024-07-10 22:12:28 +02:00
parent d83c996009
commit d0e0038437

View file

@ -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
);
};
}