mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat: abstractions rework
This commit is contained in:
parent
ec7571171b
commit
0a6085cb49
48 changed files with 798 additions and 1219 deletions
10
hardware/local.nix
Normal file
10
hardware/local.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ config, lib, ... }: {
|
||||
deploy.tf.resources.${config.networking.hostName} = {
|
||||
provider = "null";
|
||||
type = "resource";
|
||||
connection = {
|
||||
port = lib.head config.services.openssh.ports;
|
||||
host = config.networks.gensokyo.ipv4 or config.networks.chitei.ipv4;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue