diff --git a/hosts/nullbox/hardware-configuration.nix b/hosts/nullbox/hardware-configuration.nix index 5e14157..bd1de02 100644 --- a/hosts/nullbox/hardware-configuration.nix +++ b/hosts/nullbox/hardware-configuration.nix @@ -41,18 +41,30 @@ fsType = "vfat"; }; - fileSystems."/srv/mcserver" = + fileSystems."/srv/mcserver-old" = { device = "/dev/disk/by-uuid/7204ff85-6404-4bd7-ba0d-3fb23a5cf52c"; fsType = "btrfs"; options = [ "subvol=@mcserver" ]; }; - fileSystems."/srv/mcserver/.snapshots" = + fileSystems."/srv/mcserver-old/.snapshots" = { device = "/dev/disk/by-uuid/7204ff85-6404-4bd7-ba0d-3fb23a5cf52c"; fsType = "btrfs"; options = [ "subvol=snapshots/@mcserver" ]; }; + fileSystems."/srv/mcserver" = + { device = "/dev/disk/by-uuid/e36d1ab4-d18b-434e-80b5-0efca0652eb5"; + fsType = "btrfs"; + options = [ "subvol=@mcserver" ]; + }; + + fileSystems."/srv/mcserver/.snapshots" = + { device = "/dev/disk/by-uuid/e36d1ab4-d18b-434e-80b5-0efca0652eb5"; + fsType = "btrfs"; + options = [ "subvol=snapshots/@mcserver" ]; + }; + swapDevices = [ { device = "/dev/disk/by-uuid/4b86cbd6-6fc5-47d4-9d44-35eec59cb785"; } ];