format junk pook with nix
This commit is contained in:
@@ -49,6 +49,8 @@ in
|
||||
bootspec.enable = true;
|
||||
|
||||
supportedFilesystems = [ "zfs" ];
|
||||
|
||||
zfs.extraPools = [ "junk" ];
|
||||
};
|
||||
|
||||
# Hardware configs
|
||||
@@ -176,7 +178,6 @@ in
|
||||
else
|
||||
zpool import -R /mnt -f "Main Pool"
|
||||
zpool import -R /mnt -f "Safe SSD"
|
||||
zpool import -R /mnt -f "Junk"
|
||||
zfs load-key -L file:///root/main-pool.key "Main Pool"
|
||||
zfs load-key -L file:///root/safe-ssd.key "Safe SSD"
|
||||
zfs mount -a
|
||||
|
||||
Reference in New Issue
Block a user