feat: add 'hcloud' module

This commit is contained in:
2026-01-18 10:02:20 +01:00
parent 00e5c92c1e
commit d6459d0d84
3 changed files with 50 additions and 21 deletions

View File

@@ -0,0 +1,16 @@
{
config,
lib,
osConfig ? null,
...
}:
let
isNixOS = osConfig != null;
in
{
config = {
warnings = lib.optional (!isNixOS)
"hcloud module requires NixOS host configuration. This module will not work with standalone home-manager.";
};
}