add homelab, nc
This commit is contained in:
parent
ab7d7e6b81
commit
e179c6e9d5
10 changed files with 206 additions and 40 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
pkgs-stable,
|
||||
attrs,
|
||||
system,
|
||||
...
|
||||
|
|
@ -38,7 +39,23 @@ in {
|
|||
defaultModules
|
||||
++ [
|
||||
./configuration.nix
|
||||
./consensus/./configuration.nix
|
||||
./consensus/configuration.nix
|
||||
];
|
||||
};
|
||||
nc = inputs.nixpkgs-stable.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
pkgs = pkgs-stable;
|
||||
inherit inputs system attrs;
|
||||
host = {
|
||||
hostName = "consensus";
|
||||
inherit (attrs) username;
|
||||
};
|
||||
};
|
||||
modules =
|
||||
defaultModules
|
||||
++ [
|
||||
./configuration.nix
|
||||
./nc/configuration.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue