Update elara drive

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-08-18 13:46:02 -04:00
parent dedbe814d5
commit 334778287d
3 changed files with 38 additions and 48 deletions

View File

@@ -63,5 +63,5 @@
sas.build.private = true; sas.build.private = true;
environment.impermanence.device = environment.impermanence.device =
config.disko.devices.disk.usb.content.partitions.root.content.content.device; config.disko.devices.disk.main.content.partitions.root.content.device;
} }

View File

@@ -1,7 +1,7 @@
{ {
disko.devices = { disko.devices = {
disk.usb = { disk.main = {
device = "/dev/disk/by-id/ata-Samsung_SSD_990_EVO_1TB_S7GCNL0XA04998F"; device = "/dev/disk/by-id/scsi-3600224809f331210b85f07f3c5e9dacd";
type = "disk"; type = "disk";
content = { content = {
type = "gpt"; type = "gpt";
@@ -33,20 +33,13 @@
root = { root = {
name = "root"; name = "root";
size = "100%"; size = "100%";
content = {
name = "usb";
type = "luks";
passwordFile = "/tmp/keyfile";
settings = {
allowDiscards = true;
};
content = { content = {
type = "btrfs"; type = "btrfs";
extraArgs = [ "-f" ]; extraArgs = [ "-f" ];
subvolumes = subvolumes =
let let
mountOptions = [ mountOptions = [
"compress=zstd:3" "compress=zstd:5"
"noatime" "noatime"
"user_subvol_rm_allowed" "user_subvol_rm_allowed"
]; ];
@@ -83,5 +76,4 @@
}; };
}; };
}; };
};
} }

View File

@@ -12,6 +12,4 @@
}; };
virtualisation.hypervGuest.enable = true; virtualisation.hypervGuest.enable = true;
services.fstrim.enable = true;
} }