Added nextcloud

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

No files matched your search

+21
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;
};
};
}