hosts/kazuki/storage: make the cache bigger
This commit is contained in:
parent
dc042518a0
commit
a674565024
1 changed files with 8 additions and 1 deletions
|
@ -3,7 +3,14 @@
|
|||
file = ../../secrets/storage-box-webdav.age;
|
||||
};
|
||||
|
||||
services.davfs2.enable = true;
|
||||
services.davfs2 = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
cache_size 50000
|
||||
minimize_mem 1
|
||||
use_locks 0
|
||||
'';
|
||||
};
|
||||
environment.etc."davfs2/secrets".source = config.age.secrets.storage-box-webdav.path;
|
||||
|
||||
fileSystems."/storage-box" = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue