sayuri: Allow discards on data ssd

This commit is contained in:
Simon Bruder 2021-05-07 14:37:53 +02:00
parent ec50bc210b
commit ca2136ef04
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -55,7 +55,8 @@
fsType = "btrfs"; fsType = "btrfs";
options = [ "discard=async" "noatime" "compress=zstd" ]; options = [ "discard=async" "noatime" "compress=zstd" ];
encrypted = { encrypted = {
label = "data-ssd"; # !!! HACK
label = "data-ssd --allow-discards";
enable = true; enable = true;
blkDev = "/dev/disk/by-uuid/41baa168-7fa0-4eb3-b314-50766ddf126d"; blkDev = "/dev/disk/by-uuid/41baa168-7fa0-4eb3-b314-50766ddf126d";
keyFile = "/mnt-root/root/luks-data"; keyFile = "/mnt-root/root/luks-data";