summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2024-04-25 13:01:35 -0400
committerJoe Mou <dev@mou.fo>2024-04-26 16:30:33 -0400
commitd7a2de8639c9d901884f6ac0477d87167811756b (patch)
treecefd1cb6aa79e54156511536ce5571a14e3d49bc
parentac50d18024be045a0dfe82a5e9ecc6dfec01696a (diff)
elmo: /srv subvolume
The intention is to separate user-managed data, like backups and file shares. Still need to move syncthing over. An implication is /srv will probably not participate in restic backups but be replicated in some other way.
-rw-r--r--hostnix/elmo/hardware-configuration.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/hostnix/elmo/hardware-configuration.nix b/hostnix/elmo/hardware-configuration.nix
index de66403..88d1073 100644
--- a/hostnix/elmo/hardware-configuration.nix
+++ b/hostnix/elmo/hardware-configuration.nix
@@ -31,6 +31,12 @@
options = [ "subvol=@home" ];
};
+ fileSystems."/srv" =
+ { device = "/dev/disk/by-uuid/288b0110-1816-4cc7-8cd9-9c019ebd0036";
+ fsType = "btrfs";
+ options = [ "subvol=@srv" ];
+ };
+
fileSystems."/var" =
{ device = "/dev/disk/by-uuid/288b0110-1816-4cc7-8cd9-9c019ebd0036";
fsType = "btrfs";