Added mountpoint definition for volumes

pull/3/head
Illia Chub 2021-03-23 14:51:28 +02:00
parent e94a10a4c1
commit 9d6c8cc638
1 changed files with 4 additions and 1 deletions

View File

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