feature(trim): add trim support and change partuuid to disk-labels

This commit is contained in:
2026-10-02 17:34:45 +02:00
parent fc4f0afc46
commit 8a1067b324
2 changed files with 11 additions and 6 deletions
+2
View File
@@ -51,6 +51,8 @@ in
boot.initrd.luks.devices = lib.mapAttrs (name: uuid: {
device = "/dev/disk/by-uuid/${uuid}";
keyFile = key name;
# trim for ssds, ignored by drives without discard support
allowDiscards = true;
}) drives;
fileSystems = lib.mapAttrs' (
name: _: