mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 00:49:42 +08:00
devices.pc: disable trim for tf card
This commit is contained in:
@@ -21,7 +21,7 @@ inputs:
|
|||||||
luks.auto =
|
luks.auto =
|
||||||
{
|
{
|
||||||
"/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"; ssd = true; };
|
"/dev/disk/by-partlabel/pc-tf1".mapper = "tf1";
|
||||||
};
|
};
|
||||||
swap = [ "/nix/swap/swap" ];
|
swap = [ "/nix/swap/swap" ];
|
||||||
resume = { device = "/dev/mapper/root1"; offset = 131605760; };
|
resume = { device = "/dev/mapper/root1"; offset = 131605760; };
|
||||||
|
|||||||
Reference in New Issue
Block a user