Enable nextcloud on clients

This commit is contained in:
SebastianStork 2024-08-26 02:37:47 +02:00
parent 92147e220b
commit fd745cceb6
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,11 @@
{ config, lib, ... }:
{
options.myConfig.nextcloud.enable = lib.mkEnableOption "";
config = lib.mkIf config.myConfig.nextcloud.enable {
services.nextcloud-client = {
enable = true;
startInBackground = true;
};
};
}