style: format all nix files with nixfmt

This commit is contained in:
2026-10-01 11:40:12 +02:00
parent 4ec579b1fc
commit 2231d2fc3f
21 changed files with 288 additions and 159 deletions
+32 -23
View File
@@ -17,29 +17,38 @@
};
};
outputs = { nixpkgs, home-manager, nixvim, ... }@inputs:
let
mkHost = hostName: nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./hosts/${hostName}/hardware-configuration.nix
./hosts/${hostName}/configuration.nix
home-manager.nixosModules.home-manager
{
home-manager.extraSpecialArgs = { inherit inputs; };
home-manager.users.aaron.imports = [
nixvim.homeModules.nixvim
./users/aaron/home.nix
outputs =
{
nixpkgs,
home-manager,
nixvim,
...
}@inputs:
let
mkHost =
hostName:
nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./hosts/${hostName}/hardware-configuration.nix
./hosts/${hostName}/configuration.nix
home-manager.nixosModules.home-manager
{
home-manager.extraSpecialArgs = { inherit inputs; };
home-manager.users.aaron.imports = [
nixvim.homeModules.nixvim
./users/aaron/home.nix
];
}
];
}
];
};
in
{
nixosConfigurations = {
default = mkHost "default";
neon = mkHost "neon";
argon = mkHost "argon";
};
};
in {
nixosConfigurations = {
default = mkHost "default";
neon = mkHost "neon";
argon = mkHost "argon";
};
};
}