refactor: extract host config into 'host.nix' files

This commit is contained in:
2026-03-11 23:36:54 +01:00
parent 12481d7468
commit aa98056f23
12 changed files with 30 additions and 30 deletions

View File

@@ -8,14 +8,10 @@
./hard.nix
../../modules/ssh
../../modules/common
./host.nix
# ../../modules/uptime-kuma
];
host = {
username = "h";
name = "eetion";
};
ssh = {
inherit (config.host) username;
publicHostname = config.host.name;

4
hosts/eetion/host.nix Normal file
View File

@@ -0,0 +1,4 @@
{
username = "h";
name = "eetion";
}