Use new-style fileSystems
This commit is contained in:
parent
1f401a0e35
commit
074af5906e
@ -49,7 +49,7 @@ let
|
|||||||
boot.loader.grub.extraConfig = "serial; terminal_output.serial";
|
boot.loader.grub.extraConfig = "serial; terminal_output.serial";
|
||||||
boot.initrd.kernelModules = [ "ext3" "ext4" "xfs" "virtio_console" ];
|
boot.initrd.kernelModules = [ "ext3" "ext4" "xfs" "virtio_console" ];
|
||||||
|
|
||||||
fileSystems = [ ${fileSystems} ];
|
${fileSystems}
|
||||||
swapDevices = [ { label = "swap"; } ];
|
swapDevices = [ { label = "swap"; } ];
|
||||||
|
|
||||||
environment.systemPackages = [ ${optionalString testChannel "pkgs.rlwrap"} ];
|
environment.systemPackages = [ ${optionalString testChannel "pkgs.rlwrap"} ];
|
||||||
@ -58,16 +58,12 @@ let
|
|||||||
|
|
||||||
rootFS =
|
rootFS =
|
||||||
''
|
''
|
||||||
{ mountPoint = "/";
|
fileSystems."/".device = "/dev/disk/by-label/nixos";
|
||||||
device = "/dev/disk/by-label/nixos";
|
|
||||||
}
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
bootFS =
|
bootFS =
|
||||||
''
|
''
|
||||||
{ mountPoint = "/boot";
|
fileSystems."/boot".device = "/dev/disk/by-label/boot";
|
||||||
device = "/dev/disk/by-label/boot";
|
|
||||||
}
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user