"99 2026-01-27 15:51:58 26.05.20260123.c5296fd 6.18.7"

This commit is contained in:
Larra Emily Sarah
2026-01-27 15:51:59 +01:00
parent e483d030b0
commit 82ffbcad24
8 changed files with 260 additions and 91 deletions

View File

@@ -20,18 +20,40 @@
nixpkgs-stable,
zen-browser,
...
} @ inputs: {
nixosConfigurations.ArcticFox = nixpkgs.lib.nixosSystem {
specialArgs = let
system = "x86_64-linux";
in {
inherit inputs;
pkgs-stable = import nixpkgs-stable {
inherit system;
config.allowUnfree = true;
} @ inputs: let
system = "x86_64-linux";
hosts = [
{hostname = "ArcticFox";}
];
makeSystem = {hostname}:
nixpkgs.lib.nixosSystem {
system = system;
specialArgs = {
inherit inputs hostname;
pkgs-stable = import nixpkgs-stable {
inherit system;
config.allowUnfree = true;
};
};
modules = [
./hosts/${hostname}/configuration.nix
];
};
modules = [./configuration.nix];
};
in {
nixosConfigurations =
nixpkgs.lib.foldl' (
configs: host:
configs
// {
"${host.hostname}" = makeSystem {
inherit (host) hostname;
};
}
) {}
hosts;
};
}