feat(storage01): Update zpool configuration

Use only one pool for slow storage
Setup garage to use the available pools
This commit is contained in:
Tom Hubrecht 2023-09-17 18:13:35 +02:00
parent a49774b6a6
commit 0441ebe4ae
2 changed files with 18 additions and 2 deletions

View file

@ -1,7 +1,7 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{ config, lib, modulesPath, ... }:
{
imports =
@ -14,7 +14,7 @@
boot.kernelModules = [ "kvm-intel" ];
boot.supportedFilesystems = [ "zfs" ];
boot.zfs.forceImportRoot = false;
boot.zfs.extraPools = [ "fast01" "medium01" "work01" "small01" ];
boot.zfs.extraPools = [ "fast01" "work01" ];
boot.extraModulePackages = [ ];
fileSystems."/" =