Files
dotfiles/system-modules/davfs.nix
Lennart J. Kurzweg (Nx2) ae9ae15f3a davfs
2026-05-02 23:58:31 +02:00

20 lines
341 B
Nix

{ pkgs, ... }@all: with all; let
# user = "lennart";
in {
services.davfs2 = {
enable = true;
settings = {
globalSection = {
use_locks = true;
};
sections = {
"${hyper.home}/webdav" = {
gui_optimize = true;
};
};
};
};
users.users."${hyper.user}".extraGroups = [ "davfs2" ];
}