nextcloud-client: enable

This commit is contained in:
Charlotte Van Petegem 2023-08-22 10:22:32 +02:00
parent 843811ce6f
commit cb80693345
No known key found for this signature in database
GPG key ID: 019E764B7184435A
2 changed files with 24 additions and 0 deletions

View file

@ -6,6 +6,7 @@
./firefox
./gnupg
./mail
./nextcloud-client
./pass
./sound
./terminal
@ -32,6 +33,7 @@
pinentryFlavor = "gtk2";
};
mail.enable = lib.mkDefault true;
nextcloud-client.enable = lib.mkDefault true;
pass.enable = lib.mkDefault true;
sound.enable = lib.mkDefault true;
terminal.enable = lib.mkDefault true;

View file

@ -0,0 +1,22 @@
{ config, lib, pkgs, ... }:
{
options.chvp.graphical.nextcloud-client.enable = lib.mkOption {
default = false;
example = true;
};
config = lib.mkIf config.chvp.graphical.nextcloud-client.enable {
chvp.base.zfs.homeLinks = [
{ path = ".config/Nextcloud"; type = "cache"; }
{ path = ".local/share/Nextcloud"; type = "cache"; }
{ path = "sync"; type = "cache"; }
];
home-manager.users.charlotte = { ... }: {
services.nextcloud-client = {
enable = true;
startInBackground = true;
};
};
};
}