Webdav fix and clang lsp in nvim

This commit is contained in:
2025-09-01 01:32:09 +02:00
parent 85fbdb5795
commit 13b8195a91
3 changed files with 42 additions and 24 deletions

View File

@@ -19,16 +19,16 @@
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
what = "https://dav.hahn1.one";
where = "/mnt/webdav";
where = "/home/jonas/webdav";
type = "davfs";
options = "uid=1000,gid=1000,file_mode=0664,dir_mode=2775,_netdev";
options = "uid=1000,gid=1000,file_mode=0664,dir_mode=2775,_netdev"; # What is netdev?
mountConfig.TimeoutSec = "5s";
}];
# Is this too much power drain?
systemd.automounts = [{
description = "Webdav automount";
where = "/mnt/webdav";
where = "/home/jonas/webdav";
wantedBy = [ "multi-user.target" ];
automountConfig = { TimeoutIdleSec = "2m"; };
}];