34 lines
737 B
Nix
34 lines
737 B
Nix
let
|
|
pinnedPkgs = fetchGit {
|
|
name = "nixos-unstable";
|
|
url = "https://github.com/NixOS/nixpkgs";
|
|
ref = "refs/heads/nixpkgs-unstable";
|
|
rev = "0b6445b611472740f02eae9015150c07c5373340"; # 05-05-2023
|
|
};
|
|
in {
|
|
network = {
|
|
pkgs = import pinnedPkgs { overlays = [ (import ./pkgs) ]; };
|
|
description = "c8h4.io infrastructure";
|
|
};
|
|
|
|
name = {
|
|
_module.args.machineName = "name.c8h4.io";
|
|
imports = [ ./machines/name.nix ];
|
|
};
|
|
|
|
serv = {
|
|
_module.args.machineName = "serv.c8h4.io";
|
|
imports = [
|
|
./machines/serv.nix
|
|
./secrets/morph/acme.nix
|
|
./secrets/morph/sourcehut
|
|
];
|
|
};
|
|
|
|
trek = {
|
|
_module.args.machineName = "trek.c8h4.io";
|
|
imports = [ ./machines/trek.nix ];
|
|
};
|
|
}
|
|
|