feat: add 'hcloud' module
This commit is contained in:
1 parent
abe101d58e
commit
5368461675
3 files changed
+50
-21
No files matched your search
@@ -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.";
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user