diff options
| author | Bernardo Meurer <bernardo@meurer.org> | 2022-08-09 15:48:18 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-09 15:48:18 -0700 |
| commit | a26aa972762ba9997d337019436d2dbe01fceef0 (patch) | |
| tree | cc6d9ae1267d14d3b49453ff4500fca947160d16 | |
| parent | Merge pull request #185722 from mweinelt/mozilla (diff) | |
| parent | fix whitespace (diff) | |
| download | nixpkgs-a26aa972762ba9997d337019436d2dbe01fceef0.tar.gz | |
Merge pull request #185463 from phaer/patch-1
zfs: Make zpool available for zpool-expand-pools
| -rw-r--r-- | nixos/modules/tasks/filesystems/zfs.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/tasks/filesystems/zfs.nix b/nixos/modules/tasks/filesystems/zfs.nix index 795879c6764c..dcd83094b093 100644 --- a/nixos/modules/tasks/filesystems/zfs.nix +++ b/nixos/modules/tasks/filesystems/zfs.nix @@ -714,6 +714,8 @@ in RemainAfterExit = true; }; + path = lib.optionals (cfgExpandOnBoot == "all") [ cfgZfs.package ]; + script = '' for pool in ${poolListProvider}; do systemctl start --no-block "zpool-expand@$pool" |
