nextcloud-client: enable
This commit is contained in:
parent
843811ce6f
commit
cb80693345
2 changed files with 24 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
||||||
./firefox
|
./firefox
|
||||||
./gnupg
|
./gnupg
|
||||||
./mail
|
./mail
|
||||||
|
./nextcloud-client
|
||||||
./pass
|
./pass
|
||||||
./sound
|
./sound
|
||||||
./terminal
|
./terminal
|
||||||
|
@ -32,6 +33,7 @@
|
||||||
pinentryFlavor = "gtk2";
|
pinentryFlavor = "gtk2";
|
||||||
};
|
};
|
||||||
mail.enable = lib.mkDefault true;
|
mail.enable = lib.mkDefault true;
|
||||||
|
nextcloud-client.enable = lib.mkDefault true;
|
||||||
pass.enable = lib.mkDefault true;
|
pass.enable = lib.mkDefault true;
|
||||||
sound.enable = lib.mkDefault true;
|
sound.enable = lib.mkDefault true;
|
||||||
terminal.enable = lib.mkDefault true;
|
terminal.enable = lib.mkDefault true;
|
||||||
|
|
22
modules/graphical/nextcloud-client/default.nix
Normal file
22
modules/graphical/nextcloud-client/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue