From f6b4214567979247f6dac2b5b6bc92fa89a619db Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 26 Aug 2014 19:30:45 +0200 Subject: [PATCH] /dev/sda1 -> "/dev/sda1" Otherwise Nix might try to copy /dev/sda1 under certain circumstances :-) --- nixos/modules/system/boot/luksroot.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/luksroot.nix b/nixos/modules/system/boot/luksroot.nix index c923cc49c449..68392e3cfe25 100644 --- a/nixos/modules/system/boot/luksroot.nix +++ b/nixos/modules/system/boot/luksroot.nix @@ -348,7 +348,7 @@ in options = { device = mkOption { - default = /dev/sda1; + default = "/dev/sda1"; type = types.path; description = '' An unencrypted device that will temporarily be mounted in stage-1.