From 6025d3d9c962f4d780a7a61d9920d8b5776ff620 Mon Sep 17 00:00:00 2001 From: Markus Schmidl Date: Wed, 29 Jun 2022 20:17:45 +0200 Subject: [PATCH] server9: add zfs mounts to hardware configuration --- hosts/server9/hardware-configuration.nix | 35 ++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/hosts/server9/hardware-configuration.nix b/hosts/server9/hardware-configuration.nix index b3cd285e..c1abba41 100644 --- a/hosts/server9/hardware-configuration.nix +++ b/hosts/server9/hardware-configuration.nix @@ -24,6 +24,41 @@ fsType = "vfat"; }; + fileSystems."/tank" = + { device = "tank"; + fsType = "zfs"; + }; + + fileSystems."/tank/poelzi" = + { device = "tank/poelzi"; + fsType = "zfs"; + }; + + fileSystems."/tank/storage" = + { device = "tank/storage"; + fsType = "zfs"; + }; + + fileSystems."/tank/backup_vms_ceph_migration" = + { device = "tank/backup_vms_ceph_migration"; + fsType = "zfs"; + }; + + fileSystems."/tank/dump-dvb-iq-storage" = + { device = "tank/dump-dvb-iq-storage"; + fsType = "zfs"; + }; + + fileSystems."/tank/storage/ftp" = + { device = "tank/storage/ftp"; + fsType = "zfs"; + }; + + fileSystems."/tank/storage/stream" = + { device = "tank/storage/stream"; + fsType = "zfs"; + }; + swapDevices = [ ]; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;