summaryrefslogtreecommitdiff
path: root/config/nix.org
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@gmail.com>2025-09-19 01:07:12 -0700
committerPreston Pan <ret2pop@gmail.com>2025-09-19 01:07:12 -0700
commitcabee290a934702318de9fb6a035e61d79de2dfc (patch)
tree2ca51722ebe75adcd6b5fc0bb641806119df238b /config/nix.org
parent56337bd35424b6e9fd131b542b2b5f0c3fb8a1d4 (diff)
fix wrong expression
Diffstat (limited to 'config/nix.org')
-rw-r--r--config/nix.org8
1 files changed, 5 insertions, 3 deletions
diff --git a/config/nix.org b/config/nix.org
index eceecf3..a8f8a75 100644
--- a/config/nix.org
+++ b/config/nix.org
@@ -1196,9 +1196,11 @@ This is my impermanence profile, which removes all files on reboot except for th
umount /btrfs_tmp
'' else "");
- boot.initrd.luks.devices = (if config.monorepo.profiles.impermanence.enable then [
- { name = "crypted"; device = "/dev/disk/by-partlabel/disk-main-luks"; }
- ] else []);
+ boot.initrd.luks.devices = (if config.monorepo.profiles.impermanence.enable then {
+ crypted = {
+ device = "/dev/disk/by-partlabel/disk-main-luks";
+ };
+ } else {});
fileSystems = if (config.monorepo.profiles.impermanence.enable) then {
"/persistent" = {