summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2014-10-11 01:53:24 -0700
committerWilliam A. Kennington III <william@wkennington.com>2014-10-11 01:53:24 -0700
commita5bed86fa450fe22f8855c7c0bc6b1ccf4be6653 (patch)
treea0cfaf4725b2394685ec6385c46a8efa3ef5095a /nixos
parent109547b902500549c5b39abfceb7e0dbc5022a74 (diff)
downloadnixlib-a5bed86fa450fe22f8855c7c0bc6b1ccf4be6653.tar
nixlib-a5bed86fa450fe22f8855c7c0bc6b1ccf4be6653.tar.gz
nixlib-a5bed86fa450fe22f8855c7c0bc6b1ccf4be6653.tar.bz2
nixlib-a5bed86fa450fe22f8855c7c0bc6b1ccf4be6653.tar.lz
nixlib-a5bed86fa450fe22f8855c7c0bc6b1ccf4be6653.tar.xz
nixlib-a5bed86fa450fe22f8855c7c0bc6b1ccf4be6653.tar.zst
nixlib-a5bed86fa450fe22f8855c7c0bc6b1ccf4be6653.zip
zfs: zpool-import service must be wanted to start
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/tasks/filesystems/zfs.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/tasks/filesystems/zfs.nix b/nixos/modules/tasks/filesystems/zfs.nix
index 1c4bbc16b499..eb72bfba33c0 100644
--- a/nixos/modules/tasks/filesystems/zfs.nix
+++ b/nixos/modules/tasks/filesystems/zfs.nix
@@ -155,6 +155,7 @@ in
       systemd.services."zpool-import" = {
         description = "Import zpools";
         after = [ "systemd-udev-settle.service" ];
+        wantedBy = [ "local-fs.target" ];
         serviceConfig = {
           Type = "oneshot";
           RemainAfterExit = true;