add nextcloud

This commit is contained in:
Osman Faruk Bayram 2025-05-11 22:36:32 +03:00
parent 6e43b1a0a0
commit e73b94eb2c

View file

@ -0,0 +1,21 @@
{
lib,
config,
...
}: {
options = {
myModules.enableNextcloud = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Enable Nextcloud server";
};
};
config = lib.mkMerge [
(lib.mkIf config.myModules.enableNextcloud {
services.nextcloud = {
enable = true;
};
})
];
}