mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
service/nextcloud: exclude thumbnails from backup
This commit is contained in:
parent
52ec14a3c1
commit
a5148fd051
1 changed files with 7 additions and 10 deletions
|
@ -26,7 +26,7 @@ in
|
|||
description = "country codes for automatic phone-number ";
|
||||
};
|
||||
passwordFile = mkOption {
|
||||
type = types.str;
|
||||
type = types.path;
|
||||
example = "/var/lib/nextcloud/password.txt";
|
||||
description = ''
|
||||
Path to a file containing the admin's password, must be readable by
|
||||
|
@ -108,15 +108,12 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
#my.services.backup = {
|
||||
# paths = [
|
||||
# config.services.nextcloud.home
|
||||
# ];
|
||||
# exclude = [
|
||||
# # image previews can take up a lot of space
|
||||
# "${config.services.nextcloud.home}/data/appdata_*/preview"
|
||||
# ];
|
||||
#};
|
||||
my.services.backup = {
|
||||
exclude = [
|
||||
# image previews can take up a lot of space
|
||||
"${config.services.nextcloud.home}/data/appdata_*/preview"
|
||||
];
|
||||
};
|
||||
|
||||
webapps.apps.nextcloud = {
|
||||
dashboard = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue