mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
Using ./home.nix and ./nixos.nix as entrypoints for hosts. Using hardware profiles. Using new entrypoints (profiles/base/profiles.nix + profiles/base/home.nix). New modules (for DNS handling, for themeing, ...). Split up deploy-tf.nix into several modules. Renamed common profile to base profile.
23 lines
485 B
Nix
23 lines
485 B
Nix
{ lib, config, ... }: with lib; {
|
|
config = {
|
|
deploy.targets.ostara = {
|
|
nodeNames = singleton "ostara";
|
|
tf = {
|
|
resources.ostara = {
|
|
provider = "null";
|
|
type = "resource";
|
|
connection = {
|
|
port = 62954;
|
|
host = "192.168.1.245";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
network.nodes.ostara = {
|
|
imports = lib.hostImport "ostara";
|
|
networking = {
|
|
hostName = "ostara";
|
|
};
|
|
};
|
|
};
|
|
}
|