hosts/kazuki/storage: migrate davfs to structured config
This commit is contained in:
parent
013d34fb83
commit
6de81035eb
1 changed files with 5 additions and 5 deletions
|
@ -6,11 +6,11 @@
|
||||||
|
|
||||||
services.davfs2 = {
|
services.davfs2 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = ''
|
settings.globalSection = {
|
||||||
cache_size 50000
|
cache_size = 50000;
|
||||||
minimize_mem 1
|
minimize_mem = true;
|
||||||
use_locks 0
|
use_locks = false;
|
||||||
'';
|
};
|
||||||
};
|
};
|
||||||
environment.etc."davfs2/secrets".source = config.age.secrets.storage-box-webdav.path;
|
environment.etc."davfs2/secrets".source = config.age.secrets.storage-box-webdav.path;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue