2023-04-01 22:20:34 +02:00
|
|
|
let
|
2023-04-20 13:17:38 +02:00
|
|
|
pinnedPkgs = fetchGit {
|
|
|
|
name = "nixos-unstable";
|
|
|
|
url = "https://github.com/NixOS/nixpkgs";
|
2023-05-08 16:47:59 +02:00
|
|
|
ref = "refs/heads/nixpkgs-unstable";
|
|
|
|
rev = "0b6445b611472740f02eae9015150c07c5373340"; # 05-05-2023
|
2023-04-20 13:17:38 +02:00
|
|
|
};
|
2023-04-01 22:20:34 +02:00
|
|
|
in {
|
2023-04-08 18:33:17 +02:00
|
|
|
network = {
|
2023-05-03 23:32:43 +02:00
|
|
|
pkgs = import pinnedPkgs { overlays = [ (import ./pkgs) ]; };
|
2023-04-08 18:33:17 +02:00
|
|
|
description = "c8h4.io infrastructure";
|
|
|
|
};
|
2023-04-01 22:20:34 +02:00
|
|
|
|
|
|
|
name = {
|
|
|
|
_module.args.machineName = "name.c8h4.io";
|
|
|
|
imports = [ ./machines/name.nix ];
|
|
|
|
};
|
2023-04-08 18:33:17 +02:00
|
|
|
|
2023-05-02 23:01:07 +02:00
|
|
|
serv = {
|
|
|
|
_module.args.machineName = "serv.c8h4.io";
|
2023-04-22 15:00:19 +02:00
|
|
|
imports = [
|
2023-05-02 23:01:07 +02:00
|
|
|
./machines/serv.nix
|
2023-04-22 15:00:19 +02:00
|
|
|
./secrets/morph/acme.nix
|
|
|
|
./secrets/morph/sourcehut
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2023-04-08 18:33:17 +02:00
|
|
|
trek = {
|
|
|
|
_module.args.machineName = "trek.c8h4.io";
|
|
|
|
imports = [ ./machines/trek.nix ];
|
|
|
|
};
|
2023-04-01 22:20:34 +02:00
|
|
|
}
|
|
|
|
|