mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
18 lines
441 B
Nix
18 lines
441 B
Nix
{ config, hosts, ... }: {
|
|
config = {
|
|
resources.yule = {
|
|
provider = "null";
|
|
type = "resource";
|
|
connection = {
|
|
port = 62954;
|
|
host = "192.168.1.92";
|
|
};
|
|
};
|
|
deploy.systems.yule = with config.resources; {
|
|
nixosConfig = hosts.yule.config;
|
|
connection = yule.connection.set;
|
|
triggers.copy.yule = yule.refAttr "id";
|
|
triggers.secrets.yule = yule.refAttr "id";
|
|
};
|
|
};
|
|
}
|