Update elara drive
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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";
|
||||||
@@ -34,50 +34,42 @@
|
|||||||
name = "root";
|
name = "root";
|
||||||
size = "100%";
|
size = "100%";
|
||||||
content = {
|
content = {
|
||||||
name = "usb";
|
type = "btrfs";
|
||||||
type = "luks";
|
extraArgs = [ "-f" ];
|
||||||
passwordFile = "/tmp/keyfile";
|
subvolumes =
|
||||||
settings = {
|
let
|
||||||
allowDiscards = true;
|
mountOptions = [
|
||||||
};
|
"compress=zstd:5"
|
||||||
content = {
|
"noatime"
|
||||||
type = "btrfs";
|
"user_subvol_rm_allowed"
|
||||||
extraArgs = [ "-f" ];
|
];
|
||||||
subvolumes =
|
in
|
||||||
let
|
{
|
||||||
mountOptions = [
|
"@" = {
|
||||||
"compress=zstd:3"
|
mountpoint = "/";
|
||||||
"noatime"
|
inherit mountOptions;
|
||||||
"user_subvol_rm_allowed"
|
|
||||||
];
|
|
||||||
in
|
|
||||||
{
|
|
||||||
"@" = {
|
|
||||||
mountpoint = "/";
|
|
||||||
inherit mountOptions;
|
|
||||||
};
|
|
||||||
"@persist" = {
|
|
||||||
mountpoint = "/persist";
|
|
||||||
inherit mountOptions;
|
|
||||||
};
|
|
||||||
"@persist/user" = {
|
|
||||||
mountpoint = "/persist/user";
|
|
||||||
inherit mountOptions;
|
|
||||||
};
|
|
||||||
"@persist/state" = {
|
|
||||||
mountpoint = "/persist/state";
|
|
||||||
inherit mountOptions;
|
|
||||||
};
|
|
||||||
"@persist/cache" = {
|
|
||||||
mountpoint = "/persist/cache";
|
|
||||||
inherit mountOptions;
|
|
||||||
};
|
|
||||||
"@nix" = {
|
|
||||||
mountpoint = "/nix";
|
|
||||||
inherit mountOptions;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
"@persist" = {
|
||||||
|
mountpoint = "/persist";
|
||||||
|
inherit mountOptions;
|
||||||
|
};
|
||||||
|
"@persist/user" = {
|
||||||
|
mountpoint = "/persist/user";
|
||||||
|
inherit mountOptions;
|
||||||
|
};
|
||||||
|
"@persist/state" = {
|
||||||
|
mountpoint = "/persist/state";
|
||||||
|
inherit mountOptions;
|
||||||
|
};
|
||||||
|
"@persist/cache" = {
|
||||||
|
mountpoint = "/persist/cache";
|
||||||
|
inherit mountOptions;
|
||||||
|
};
|
||||||
|
"@nix" = {
|
||||||
|
mountpoint = "/nix";
|
||||||
|
inherit mountOptions;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user