20 lines
341 B
Nix
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" ];
|
|
}
|
|
|