summary refs log tree commit diff
path: root/nixos/modules/tasks/lvm.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/tasks/lvm.nix')
-rw-r--r--nixos/modules/tasks/lvm.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/tasks/lvm.nix b/nixos/modules/tasks/lvm.nix
index aaa76b49fa3..35316603c38 100644
--- a/nixos/modules/tasks/lvm.nix
+++ b/nixos/modules/tasks/lvm.nix
@@ -9,7 +9,7 @@ in {
       type = types.package;
       default = if cfg.dmeventd.enable then pkgs.lvm2_dmeventd else pkgs.lvm2;
       internal = true;
-      defaultText = "pkgs.lvm2";
+      defaultText = literalExpression "pkgs.lvm2";
       description = ''
         This option allows you to override the LVM package that's used on the system
         (udev rules, tmpfiles, systemd services).