Added nextcloud

This commit is contained in:
marc
2024-01-21 18:43:08 +01:00
parent d660b0fb36
commit fbab268555
3 changed files with 37 additions and 2 deletions

21
modules/app/nextcloud.nix Normal file
View File

@@ -0,0 +1,21 @@
{ config, lib, pkgs, ... }:
let
cfg = config.samfelag.modules.app.nextcloud;
in
{
options.samfelag.modules.app.nextcloud = {
enable = lib.mkEnableOption "nextcloud";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
nextcloud-client
];
hm.services.nextcloud-client = {
enable = true;
startInBackground = true;
};
};
}