summaryrefslogtreecommitdiff
path: root/nix/modules/impermanence.nix
diff options
context:
space:
mode:
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";
};