mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 00:49:42 +08:00
devices.srv2-node0: fix boot
This commit is contained in:
@@ -14,7 +14,12 @@ inputs:
|
||||
trust = [ "enp58s0" ];
|
||||
masquerade = [ "enp58s0" ];
|
||||
};
|
||||
fileSystems.swap = [ "/dev/disk/by-partlabel/srv2-node0-swap" ];
|
||||
fileSystems =
|
||||
{
|
||||
swap = [ "/dev/disk/by-partlabel/srv2-node0-swap" ];
|
||||
rollingRootfs.waitDevices = builtins.map (n: "/dev/disk/by-partlabel/srv2-node0-root${builtins.toString n}")
|
||||
(builtins.genList (n: n + 2) 3);
|
||||
};
|
||||
kernel.patches = [ "btrfs" ];
|
||||
};
|
||||
services =
|
||||
|
||||
Reference in New Issue
Block a user