Remove disk encryption for Jupiter

This commit is contained in:
Bun 2025-04-23 14:27:26 -04:00
parent 5c8c68331d
commit 6e93bc4e4b

View file

@ -6,7 +6,7 @@
disk = {
"${config.networking.hostName}" = {
type = "disk";
device = "/dev/nvme0n1";
device = "/dev/sda";
content = {
type = "gpt";
partitions = {
@ -24,13 +24,8 @@
mountOptions = [ "umask=0077" ];
};
};
luks = {
main = {
size = "100%";
content = {
type = "luks";
name = "${config.networking.hostName}-disk";
settings.allowDiscards = true;
passwordFile = "/tmp/secret.key";
content = {
type = "lvm_pv";
vg = "${config.networking.hostName}";
@ -40,7 +35,6 @@
};
};
};
};
lvm_vg = {
"${config.networking.hostName}" = {
@ -54,21 +48,21 @@
subvolumes = {
"/root" = {
mountpoint = "/";
mountOptions = [ "compress=zstd" "noatime" ];
mountOptions = [ "compress=zstd" "noatime" "ssd" ];
};
"/prev" = {
mountpoint = "/prev";
mountOptions = [ "compress=zstd" "noatime" ];
mountOptions = [ "compress=zstd" "noatime" "ssd" "noexec" ];
};
"/nix" = {
mountpoint = "/nix";
mountOptions = [ "compress=zstd" "noatime" ];
mountOptions = [ "compress=zstd" "noatime" "ssd" ];
};
# Impermanence
"/persist" = {
mountpoint = "/persist";
mountOptions = [ "compress=zstd" "noatime" ];
mountOptions = [ "compress=zstd" "noatime" "ssd" ];
};
"/persist/.snapshots" = { };
"/persist/home" = { };