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

@ -5,15 +5,15 @@
...
}:
let
cfg = config.nextcloud-pd;
cfg = config.my.services.nextcloud-pd;
in
{
options.nextcloud-pd = {
options.my.services.nextcloud-pd = {
enable = lib.mkEnableOption "Enable Nextcloud module";
};
config = lib.mkIf cfg.enable {
podman.enable = true;
my.virtualisation.podman.enable = true;
virtualisation.oci-containers.containers = { };