[fanny] import storage in systemd script
All checks were successful
Check flake syntax / flake-check (push) Successful in 8m51s
All checks were successful
Check flake syntax / flake-check (push) Successful in 8m51s
This commit is contained in:
@@ -61,6 +61,7 @@ in
|
|||||||
path = with pkgs; [ zfs ];
|
path = with pkgs; [ zfs ];
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
script = ''
|
script = ''
|
||||||
|
zpool import storage
|
||||||
echo "zfs load-key -a; killall zfs; systemctl default" >> /var/empty/.profile
|
echo "zfs load-key -a; killall zfs; systemctl default" >> /var/empty/.profile
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user