Skip to content

Commit bdc224c

Browse files
committed
marie-nas: add restic/marie dataset
1 parent dab0d67 commit bdc224c

3 files changed

Lines changed: 17 additions & 0 deletions

File tree

hosts/marie-nas/disko.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,13 @@
146146
mountpoint = "legacy";
147147
};
148148
};
149+
"data/restic/marie" = {
150+
type = "zfs_fs";
151+
mountpoint = "/srv/restic/marie";
152+
options = {
153+
mountpoint = "legacy";
154+
};
155+
};
149156
};
150157
};
151158
};

hosts/marie-nas/filesystems.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@
6363
"x-systemd.device-timeout=15s"
6464
];
6565
};
66+
"/srv/restic/marie" = {
67+
device = "tank/data/restic/marie";
68+
fsType = "zfs";
69+
options = [ "nofail" ];
70+
};
6671
"/state" = {
6772
device = "zroot/data/state";
6873
fsType = "zfs";

hosts/marie-nas/samba.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
user = "root";
1212
mode = "2770";
1313
};
14+
"/srv/restic/marie".d = {
15+
group = "users";
16+
user = "marie";
17+
mode = "0700";
18+
};
1419
};
1520
users = {
1621
groups.media = { };

0 commit comments

Comments
 (0)