nixos/zfs: Respect forceImportAll in import service
This commit is contained in:
parent
ffe4dbf32f
commit
a4010e0580
1 changed files with 1 additions and 0 deletions
|
@ -507,6 +507,7 @@ in
|
|||
Type = "oneshot";
|
||||
RemainAfterExit = true;
|
||||
};
|
||||
environment.ZFS_FORCE = optionalString cfgZfs.forceImportAll "-f";
|
||||
script = (importLib {
|
||||
# See comments at importLib definition.
|
||||
zpoolCmd="${packages.zfsUser}/sbin/zpool";
|
||||
|
|
Loading…
Reference in a new issue