]> Git — Sourcephile - julm/julm-nix.git/blob - hosts/patate/ilico.nix
gtk: prefer-dark color-scheme
[julm/julm-nix.git] / hosts / patate / ilico.nix
1 { config, pkgs, ... }:
2 {
3 services.davfs2.enable = true;
4 users.users.sevy.extraGroups = [
5 config.services.davfs2.davGroup
6 ];
7 fileSystems."/home/sevy/mnt/ilico/severine" = {
8 device = "https://nuage.ilico.org/remote.php/dav/files/severine/";
9 fsType = "davfs";
10 options =
11 let
12 conf = pkgs.writeText "davfs2.conf" ''
13 backup_dir /home/sevy/Documents/EnTransfert/ilico/severine
14 cache_dir /home/sevy/.cache/davfs2/ilico/severine
15 secrets /home/sevy/.davfs2/secrets
16 '';
17 in
18 [
19 "conf=${conf}"
20 "user"
21 "noexec"
22 "nosuid"
23 "noauto"
24 "nofail"
25 "_netdev"
26 "reconnect"
27 "x-systemd.automount"
28 "x-systemd.device-timeout=1m"
29 "x-systemd.idle-timeout=1m"
30 "x-systemd.mount-timeout=10s"
31 ];
32 };
33 }