1
0
forked from extern/nix-config

nix: Replace formatter with nixpkgs-fmt

This commit is contained in:
Donovan Glover 2023-06-11 09:46:26 -04:00
parent e268781e8e
commit 44d296b2c7
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,7 +1,7 @@
{
outputs = { self, nixpkgs, home-manager, hyprland, stylix, nix-gaming, crystal-flake, ... } @ attrs:
let VARIABLES = import ./src/variables.nix; in {
formatter."${VARIABLES.system}" = nixpkgs.legacyPackages."${VARIABLES.system}".alejandra;
formatter."${VARIABLES.system}" = nixpkgs.legacyPackages."${VARIABLES.system}".nixpkgs-fmt;
nixosConfigurations."${VARIABLES.hostname}" = nixpkgs.lib.nixosSystem {
system = VARIABLES.system;