mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-01 16:56:34 +01:00
add formtatter
This commit is contained in:
parent
d83c996009
commit
d0e0038437
1 changed files with 4 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
description = "jopejoe1 NixOS configuration";
|
description = "jopejoe1 NixOS configuration";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
# Outputs
|
# Outputs
|
||||||
nixos-generators = {
|
nixos-generators = {
|
||||||
|
@ -77,5 +77,8 @@
|
||||||
inherit system inputs;
|
inherit system inputs;
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
});
|
});
|
||||||
|
formatter = nixpkgs.lib.attrsets.genAttrs nixpkgs.lib.systems.flakeExposed (system:
|
||||||
|
nixpkgs.legacyPackages.${system}.nixfmt-rfc-style
|
||||||
|
);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue