diff options
| author | Joe Mou <dev@mou.fo> | 2024-04-25 13:01:35 -0400 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2024-04-26 16:30:33 -0400 |
| commit | d7a2de8639c9d901884f6ac0477d87167811756b (patch) | |
| tree | cefd1cb6aa79e54156511536ce5571a14e3d49bc /hostnix/elmo/hardware-configuration.nix | |
| parent | ac50d18024be045a0dfe82a5e9ecc6dfec01696a (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.
Diffstat (limited to 'hostnix/elmo/hardware-configuration.nix')
| -rw-r--r-- | hostnix/elmo/hardware-configuration.nix | 6 |
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"; |
