add nextcloud

This commit is contained in:
Sakooooo 2023-08-29 21:58:59 +04:00
parent 127d9ac718
commit a798b5689d
Signed by: sako
GPG key ID: 3FD715D87D7725E0
3 changed files with 19 additions and 0 deletions

View file

@ -40,6 +40,7 @@
kindle-comic-converter.enable = true;
mangal.enable = true;
obs.enable = true;
nextcloud.enable = true;
};
chat = {
discord.enable = true;

View file

@ -10,5 +10,6 @@
./calibre
./mangal
./obs
./nextcloud
];
}

View file

@ -0,0 +1,17 @@
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.apps.nextcloud;
in
{
options.modules.desktop.apps.nextcloud = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
nextcloud-client
];
};
}