feat: add 'hcloud' module

This commit is contained in:
2026-03-11 21:25:32 +01:00
committed by hektor
parent abe101d58e
commit 5368461675
3 changed files with 50 additions and 21 deletions
+16
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.";
};
}