new mkHost function, and dome other changes

This commit is contained in:
William 2025-03-22 17:13:25 -03:00
parent 91e36efb64
commit e73026fe57
7 changed files with 141 additions and 273 deletions

View file

@ -1,6 +1,5 @@
{
hostType,
inputs,
lib,
...
}:
@ -33,13 +32,6 @@
# Workstation specific configuration
(lib.mkIf hostType.isWorkstation {
services = {
tailscale.useRoutingFeatures = "client";
nginx = {
enable = true;
virtualHosts."localhost".root = inputs.homepage;
};
};
})
];
}