Changed option namespace for better compatibility

This commit is contained in:
pazpi 2024-08-27 17:49:31 +02:00
parent fe8045ee55
commit 8b25f46384
26 changed files with 407 additions and 232 deletions

View file

@ -2,15 +2,16 @@
config,
lib,
pkgs,
inputs,
...
}:
let
cfg = config.proxmox;
cfg = config.my.virtualisation.proxmox;
in
{
options.proxmox = {
options.my.virtualisation.proxmox = {
enable = lib.mkEnableOption "If this host is running inside Proxmox";
privileged = lib.mkOption {
@ -50,7 +51,7 @@ in
manageHostName = cfg.manageHostName;
};
serverNodeUsers.enable = true;
my.utils.serverNodeUsers.enable = true;
};
}