feat: make machines reachable by hostname

This commit is contained in:
Moritz Böhme 2025-03-31 09:50:16 +00:00
parent 22667c219d
commit 1fa48a6c70
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
2 changed files with 8 additions and 5 deletions

View file

@ -80,20 +80,22 @@
# Clan wide settings. (Required)
meta.name = "cool-clan"; # Ensure to choose a unique name.
machines = { };
specialArgs = {
inherit inputs self;
};
inventory = {
machines = {
moritz-desktop.tags = ["peer"];
moritz-server.tags = [];
};
services.zerotier.default = {
roles.peer.tags = [
"peer"
];
roles.controller.machines = [
"moritz-server"
];
roles.peer.machines = [
"moritz-desktop"
];
};
};
};

View file

@ -7,6 +7,7 @@
clan-core.clanModules.root-password
clan-core.clanModules.user-password
clan-core.clanModules.state-version
clan-core.clanModules.static-hosts
];
# Locale service discovery and mDNS