mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 01:55:22 +08:00
devices.pc: add partition
This commit is contained in:
@@ -22,6 +22,7 @@ inputs:
|
|||||||
{
|
{
|
||||||
"/dev/disk/by-partlabel/pc-root1" = { mapper = "root1"; ssd = true; };
|
"/dev/disk/by-partlabel/pc-root1" = { mapper = "root1"; ssd = true; };
|
||||||
"/dev/disk/by-partlabel/pc-tf1".mapper = "tf1";
|
"/dev/disk/by-partlabel/pc-tf1".mapper = "tf1";
|
||||||
|
"/dev/disk/by-partlabel/pc-tf2" = { mapper = "tf2"; ssd = true; };
|
||||||
};
|
};
|
||||||
swap = [ "/nix/swap/swap" ];
|
swap = [ "/nix/swap/swap" ];
|
||||||
resume = { device = "/dev/mapper/root1"; offset = 156901642; };
|
resume = { device = "/dev/mapper/root1"; offset = 156901642; };
|
||||||
|
|||||||
Reference in New Issue
Block a user