Added mountpoint definition for volumes

This commit is contained in:
Illia Chub 2021-03-23 14:51:28 +02:00
parent e94a10a4c1
commit 9d6c8cc638

View file

@ -127,7 +127,10 @@ EOF
{ {
imports = [ <nixpkgs/nixos/modules/profiles/qemu-guest.nix> ]; imports = [ <nixpkgs/nixos/modules/profiles/qemu-guest.nix> ];
boot.loader.grub.device = "$grubdev"; boot.loader.grub.device = "$grubdev";
fileSystems."/" = { device = "$rootfsdev"; fsType = "ext4"; }; fileSystems = {
"/" = { device = "$rootfsdev"; fsType = "ext4"; };
"/var" = { device = "/dev/sdb"; fsType = "ext4" };
};
} }
EOF EOF