summaryrefslogtreecommitdiff
path: root/nix/modules/impermanence.nix
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@gmail.com>2025-09-19 17:20:46 -0700
committerPreston Pan <ret2pop@gmail.com>2025-09-19 17:20:46 -0700
commiteadddb3c872cba3edd674424fadc959bf00b721f (patch)
tree73a10decff3d3ca853caaeab31d479cc681e70f3 /nix/modules/impermanence.nix
parentcabee290a934702318de9fb6a035e61d79de2dfc (diff)
commit all changes before flake update
Diffstat (limited to 'nix/modules/impermanence.nix')
-rw-r--r--nix/modules/impermanence.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/modules/impermanence.nix b/nix/modules/impermanence.nix
index aa876d9..d728b6a 100644
--- a/nix/modules/impermanence.nix
+++ b/nix/modules/impermanence.nix
@@ -32,7 +32,7 @@
umount /btrfs_tmp
'' else "");
- boot.initrd.luks.devices = (if config.monorepo.profiles.impermanence.enable then {
+ boot.initrd.luks.devices = (if (! (config.monorepo.vars.fileSystem == "btrfs")) then {
crypted = {
device = "/dev/disk/by-partlabel/disk-main-luks";
};