Home Gen506 @ 2025-05-03-01:41 by jonas@comfy-station
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user