mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
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.initrd.kernelModules = [ "ext3" "ext4" "xfs" "virtio_console" ];
|
||||
|
||||
fileSystems = [ ${fileSystems} ];
|
||||
${fileSystems}
|
||||
swapDevices = [ { label = "swap"; } ];
|
||||
|
||||
environment.systemPackages = [ ${optionalString testChannel "pkgs.rlwrap"} ];
|
||||
@ -58,16 +58,12 @@ let
|
||||
|
||||
rootFS =
|
||||
''
|
||||
{ mountPoint = "/";
|
||||
device = "/dev/disk/by-label/nixos";
|
||||
}
|
||||
fileSystems."/".device = "/dev/disk/by-label/nixos";
|
||||
'';
|
||||
|
||||
bootFS =
|
||||
''
|
||||
{ mountPoint = "/boot";
|
||||
device = "/dev/disk/by-label/boot";
|
||||
}
|
||||
fileSystems."/boot".device = "/dev/disk/by-label/boot";
|
||||
'';
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user