mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-14 12:23:58 +01:00
flake.nix: Add alejandra to outputs.formatter
Now it's possible to format with alejandra with `nix fmt`.
This commit is contained in:
parent
fe099cad69
commit
1077200205
@ -2,6 +2,7 @@
|
||||
outputs = { self, nixpkgs, home-manager, hyprland, stylix, nix-gaming, ... }@attrs: let
|
||||
VARIABLES = import ./variables.nix;
|
||||
in {
|
||||
formatter."${VARIABLES.system}" = nixpkgs.legacyPackages."${VARIABLES.system}".alejandra;
|
||||
nixosConfigurations."${VARIABLES.hostname}" = nixpkgs.lib.nixosSystem {
|
||||
system = VARIABLES.system;
|
||||
specialArgs = attrs;
|
||||
|
Loading…
Reference in New Issue
Block a user