nixos-config/default.nix
Christoph Heiss bc31aab711
tree-wide: Update nixpkgs and home-manager
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2023-05-09 17:11:05 +02:00

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 ];
};
}