mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
Mabon and Ostara host targets.
This commit is contained in:
parent
6da779abec
commit
e22262f771
5 changed files with 30 additions and 30 deletions
|
|
@ -0,0 +1,21 @@
|
||||||
|
{ lib, config, ... }: with lib; {
|
||||||
|
deploy.targets.mabon = {
|
||||||
|
nodeNames = lib.singleton "mabon";
|
||||||
|
tf = {
|
||||||
|
resources.mabon = {
|
||||||
|
provider = "null";
|
||||||
|
type = "resource";
|
||||||
|
connection = {
|
||||||
|
port = 62954;
|
||||||
|
host = "192.168.1.119";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
network.nodes.mabon = {
|
||||||
|
imports = lib.hostImport "mabon";
|
||||||
|
networking = {
|
||||||
|
hostName = "mabon";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
{ config, hosts, ... }: {
|
|
||||||
config = {
|
|
||||||
resources.mabon = {
|
|
||||||
provider = "null";
|
|
||||||
type = "resource";
|
|
||||||
connection = {
|
|
||||||
port = 62954;
|
|
||||||
host = "192.168.1.119";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
{ lib, config, ... }: with lib; {
|
{ lib, config, ... }: with lib; {
|
||||||
config = {
|
config = {
|
||||||
deploy.targets.personal = {
|
deploy.targets.ostara = {
|
||||||
|
nodeNames = singleton "ostara";
|
||||||
tf = {
|
tf = {
|
||||||
resources.ostara = {
|
resources.ostara = {
|
||||||
provider = "null";
|
provider = "null";
|
||||||
|
|
@ -11,11 +12,11 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
network.nodes.samhain = {
|
};
|
||||||
imports = lib.hostImport "samhain";
|
network.nodes.ostara = {
|
||||||
networking = {
|
imports = lib.hostImport "ostara";
|
||||||
hostName = "samhain";
|
networking = {
|
||||||
};
|
hostName = "ostara";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
{ config, hosts, ... }: {
|
|
||||||
config = {
|
|
||||||
resources.ostara = {
|
|
||||||
provider = "null";
|
|
||||||
type = "resource";
|
|
||||||
connection = {
|
|
||||||
port = 62954;
|
|
||||||
host = "192.168.1.245";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -33,6 +33,8 @@ let
|
||||||
./config/hosts/athame/meta.nix
|
./config/hosts/athame/meta.nix
|
||||||
./config/hosts/samhain/meta.nix
|
./config/hosts/samhain/meta.nix
|
||||||
./config/hosts/yule/meta.nix
|
./config/hosts/yule/meta.nix
|
||||||
|
./config/hosts/mabon/meta.nix
|
||||||
|
./config/hosts/ostara/meta.nix
|
||||||
];
|
];
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit sources profiles users;
|
inherit sources profiles users;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue