]> Git — Sourcephile - julm/julm-nix.git/blob - hosts/patate/ilico.nix
podl: fix comments
[julm/julm-nix.git] / hosts / patate / ilico.nix
1 { config, pkgs, lib, ... }:
2 {
3 services.davfs2.enable = true;
4 fileSystems."/home/sevy/mnt/ilico/severine" = {
5 device = "https://nuage.ilico.org/remote.php/dav/files/severine/";
6 fsType = "davfs";
7 options =
8 let conf = pkgs.writeText "davfs2.conf" ''
9 backup_dir /home/sevy/Documents/EnTransfert/ilico/severine
10 cache_dir /home/sevy/.cache/davfs2/ilico/severine
11 ''; in
12 [ "conf=${conf}" "user" "noexec" "nosuid" "noauto" ]; # "x-systemd.automount"
13 };
14 }