first succesful deployment of a nixos using nixos-anywhere #4

This commit is contained in:
Henrik
2025-10-26 15:49:15 +01:00
parent 3cd6c1c941
commit 981683bf51
2 changed files with 18 additions and 4 deletions

View File

@@ -11,6 +11,7 @@
ESP = {
size = "500M";
type = "EF00";
label = "boot";
content = {
type = "filesystem";
format = "vfat";
@@ -20,12 +21,11 @@
};
luks = {
size = "100%";
label = "luks";
content = {
type = "luks";
name = "crypted";
settings.allowDiscards = true; # Enable SSD TRIM support
passwordFile = "/tmp/secret.key"; # install time key file location
# additionalKeyFiles = [ "/tmp/additionalSecret.key" ];
content = {
type = "filesystem";
format = "ext4";