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

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

View File

@@ -6,15 +6,11 @@
{
imports = [
./hard.nix
./host.nix
../../modules/ssh
../../modules/common
];
host = {
username = "h";
name = "eetion-02";
};
ssh = {
inherit (config.host) username;
publicHostname = config.host.name;

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

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