Home Gen506 @ 2025-05-03-01:41 by jonas@comfy-station

This commit is contained in:
2025-05-03 01:59:52 +02:00
parent fb5ba47555
commit b6b940f1ee
15 changed files with 125 additions and 154 deletions

View File

@@ -1,3 +1,17 @@
{...}: {
imports = [./config.nix];
{
config,
lib,
...
}: let
cfg = config.hive.nextcloud;
in {
options.hive.nextcloud = {
enable = lib.mkEnableOption "Enable Nextcloud client";
};
config = lib.mkIf cfg.enable {
services.nextcloud-client = {
enable = true;
startInBackground = true;
};
};
}