feat: add 'hcloud' module
This commit is contained in:
16
home/modules/hcloud/default.nix
Normal file
16
home/modules/hcloud/default.nix
Normal 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.";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user