mirror of
https://github.com/mdlayher/homelab.git
synced 2024-12-14 11:47:32 +00:00
nixos/servnerr-3: import secondary zpool on boot
This commit is contained in:
parent
a63ddcc140
commit
c179c2aa1d
1 changed files with 4 additions and 4 deletions
|
@ -128,10 +128,7 @@ let
|
|||
];
|
||||
|
||||
in {
|
||||
# ZFS filesystem mounts.
|
||||
#
|
||||
# The secondary backup pool is not mounted because we can zfs send without
|
||||
# doing so.
|
||||
# primary zpool mounts.
|
||||
fileSystems = lib.genAttrs [
|
||||
"/primary"
|
||||
"/primary/archive"
|
||||
|
@ -145,6 +142,9 @@ in {
|
|||
fsType = "zfs";
|
||||
});
|
||||
|
||||
# Don't mount secondary, just import it on boot.
|
||||
boot.zfs.extraPools = ["secondary"];
|
||||
|
||||
nixpkgs = {
|
||||
# Only allow certain unfree packages.
|
||||
config.allowUnfreePredicate = pkg:
|
||||
|
|
Loading…
Reference in a new issue