diff options
| author | Preston Pan <ret2pop@gmail.com> | 2025-09-19 01:07:12 -0700 |
|---|---|---|
| committer | Preston Pan <ret2pop@gmail.com> | 2025-09-19 01:07:12 -0700 |
| commit | cabee290a934702318de9fb6a035e61d79de2dfc (patch) | |
| tree | 2ca51722ebe75adcd6b5fc0bb641806119df238b /config | |
| parent | 56337bd35424b6e9fd131b542b2b5f0c3fb8a1d4 (diff) | |
fix wrong expression
Diffstat (limited to 'config')
| -rw-r--r-- | config/nix.org | 8 |
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" = { |
