Remove webdav module

This commit is contained in:
Andreas Zweili 2023-02-08 21:23:43 +01:00
parent 21d509a776
commit 034b6c4f1b
2 changed files with 0 additions and 28 deletions

View File

@ -1,27 +0,0 @@
{ custom }: { ... }: {
age.secrets.webdavSecrets = {
file = "${custom.inputs.self}/scrts/webdav_andreas.age";
path = "/etc/davfs2/secrets";
mode = "600";
};
services.davfs2 = {
enable = true;
davUser = custom.username;
extraConfig = ''
use_locks 0
'';
};
fileSystems."/mnt/10_documents" = {
device = "https://nextcloud.2li.ch/remote.php/dav/files/${custom.username}/10_documents/";
fsType = "davfs";
options = [
"rw"
"x-systemd.automount"
"noauto"
"x-systemd.idle-timeout=300"
"noatime"
"uid=${custom.username}"
"gid=users"
];
};
}

View File

@ -8,7 +8,6 @@
(import "${custom.inputs.self}/modules/docker" { inherit custom; })
"${custom.inputs.self}/modules/data-share"
"${custom.inputs.self}/modules/logs-share"
(import "${custom.inputs.self}/modules/mount-webdav" { inherit custom; })
(import "${custom.inputs.self}/modules/nix-direnv" { inherit custom; })
(import "${custom.inputs.self}/modules/restic-client-server" {
path = "/home/andreas";