summaryrefslogtreecommitdiff
path: root/modules/snorlax/disk-config.nix
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2025-02-16 11:28:10 +0100
committerJasper Ras <jras@hostnet.nl>2025-02-16 19:39:02 +0100
commitb01725eb25f21d55d58862ae38733b0ada99b673 (patch)
treeaf9b1d74de6fc67e26b1893ea818545f15ea9c7a /modules/snorlax/disk-config.nix
parent70764cf615fd89b7ab77532ed23c18c073c5d245 (diff)
impermanence preps
Diffstat (limited to 'modules/snorlax/disk-config.nix')
-rw-r--r--modules/snorlax/disk-config.nix10
1 files changed, 2 insertions, 8 deletions
diff --git a/modules/snorlax/disk-config.nix b/modules/snorlax/disk-config.nix
index 9bac5f0..bf55bc3 100644
--- a/modules/snorlax/disk-config.nix
+++ b/modules/snorlax/disk-config.nix
@@ -40,15 +40,9 @@
postCreateHook = "zfs list -t snap -H -o name | grep -E '^zroot@blank$' || zfs snapshot zroot@blank";
datasets = {
- git = {
+ persist = {
type = "zfs_fs";
- mountpoint = "/var/lib/git";
- options."com.sun:auto-snapshot" = "true";
- };
-
- samba = {
- type = "zfs_fs";
- mountpoint = "/srv/samba";
+ mountpoint = "/persist";
options."com.sun:auto-snapshot" = "true";
};
};