Fix to curacao partition scheme
This commit is contained in:
parent
2cea446f49
commit
d98be4eea5
|
@ -1,7 +1,5 @@
|
||||||
{ passwordFile ? "/should_not_be_needed_in_this_context", ... }:
|
{ passwordFile ? "/should_not_be_needed_in_this_context", ... }:
|
||||||
# FIXME Subvolumes for backup. If they're not created with the script. Add the script btw.
|
# FIXME Subvolumes for backup. If they're not created with the script. Add the script btw.
|
||||||
# FIXME Add partlabels to the partitions so disko can mount them
|
|
||||||
# FIXME Test. Somehow.
|
|
||||||
# FIXME Make it work for NixOS, duh
|
# FIXME Make it work for NixOS, duh
|
||||||
# TODO Not relatime everywhere, thank you
|
# TODO Not relatime everywhere, thank you
|
||||||
# TODO Default options
|
# TODO Default options
|
||||||
|
@ -23,8 +21,7 @@ in
|
||||||
content = {
|
content = {
|
||||||
type = "gpt";
|
type = "gpt";
|
||||||
partitions = {
|
partitions = {
|
||||||
razswap = {
|
swap = {
|
||||||
# Currently without partlabel
|
|
||||||
priority = 1;
|
priority = 1;
|
||||||
start = "2048";
|
start = "2048";
|
||||||
size = "8G";
|
size = "8G";
|
||||||
|
@ -41,8 +38,7 @@ in
|
||||||
# Untranslated options from /etc/fstab: defaults,pri=100
|
# Untranslated options from /etc/fstab: defaults,pri=100
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
razesp = {
|
esp = {
|
||||||
# Currently without partlabel
|
|
||||||
priority = 2;
|
priority = 2;
|
||||||
size = "128M";
|
size = "128M";
|
||||||
type = "EF00"; # EFI system partition
|
type = "EF00"; # EFI system partition
|
||||||
|
@ -64,8 +60,7 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
razboot = {
|
boot = {
|
||||||
# Currently without partlabel
|
|
||||||
priority = 3;
|
priority = 3;
|
||||||
size = "128M";
|
size = "128M";
|
||||||
content = {
|
content = {
|
||||||
|
@ -80,6 +75,7 @@ in
|
||||||
content = {
|
content = {
|
||||||
type = "filesystem";
|
type = "filesystem";
|
||||||
format = "ext2";
|
format = "ext2";
|
||||||
|
mountpoint = "/boot";
|
||||||
mountOptions = [
|
mountOptions = [
|
||||||
"rw"
|
"rw"
|
||||||
"relatime"
|
"relatime"
|
||||||
|
@ -88,8 +84,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
razmo = {
|
main = {
|
||||||
# Currently without partlabel
|
|
||||||
priority = 4;
|
priority = 4;
|
||||||
content = {
|
content = {
|
||||||
type = "luks";
|
type = "luks";
|
||||||
|
@ -121,8 +116,7 @@ in
|
||||||
content = {
|
content = {
|
||||||
type = "gpt";
|
type = "gpt";
|
||||||
partitions = {
|
partitions = {
|
||||||
rapswap = {
|
swap = {
|
||||||
# Currently without partlabel
|
|
||||||
priority = 1;
|
priority = 1;
|
||||||
start = "2048";
|
start = "2048";
|
||||||
size = "8G";
|
size = "8G";
|
||||||
|
@ -142,8 +136,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
rapido = {
|
main = {
|
||||||
# Currently without partlabel
|
|
||||||
priority = 2;
|
priority = 2;
|
||||||
content = {
|
content = {
|
||||||
type = "luks";
|
type = "luks";
|
||||||
|
|
Loading…
Reference in a new issue