diff --git a/nixos-infect b/nixos-infect index 0e1d2c5..a8a353d 100755 --- a/nixos-infect +++ b/nixos-infect @@ -127,7 +127,10 @@ EOF { imports = [ ]; boot.loader.grub.device = "$grubdev"; - fileSystems."/" = { device = "$rootfsdev"; fsType = "ext4"; }; + fileSystems = { + "/" = { device = "$rootfsdev"; fsType = "ext4"; }; + "/var" = { device = "/dev/sdb"; fsType = "ext4" }; + }; } EOF