From 930312b650cfc800593a64fb5db862b0ac722534 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 2 Feb 2021 00:30:14 -0500 Subject: [PATCH] hosts/kuro: remove ZFS drives & support I've moved this storage to an offsite NAS, so I don't need this on kuro. --- hosts/kuro/default.nix | 1 - hosts/kuro/hardware-configuration.nix | 24 ------------------------ 2 files changed, 25 deletions(-) diff --git a/hosts/kuro/default.nix b/hosts/kuro/default.nix index c422eb7c..b39a02a7 100644 --- a/hosts/kuro/default.nix +++ b/hosts/kuro/default.nix @@ -51,7 +51,6 @@ ergodox.enable = true; fs = { enable = true; - zfs.enable = true; ssd.enable = true; }; nvidia.enable = true; diff --git a/hosts/kuro/hardware-configuration.nix b/hosts/kuro/hardware-configuration.nix index 53ef802a..bd9f04c4 100644 --- a/hosts/kuro/hardware-configuration.nix +++ b/hosts/kuro/hardware-configuration.nix @@ -14,9 +14,6 @@ # server/headless builds, but on my lonely home system I prioritize # raw performance over security. The gains are minor. "mitigations=off" - # Limit ZFS cache to 8gb. Sure, this system has 64gb, but I don't want - # this biting me when I'm running multiple VMs. - "zfs.zfs_arc_max=8589934592" ]; }; @@ -48,7 +45,6 @@ }; # Storage - networking.hostId = "edd9f26b"; # required by zfs fileSystems = { "/" = { device = "/dev/disk/by-label/nixos"; @@ -64,26 +60,6 @@ fsType = "ext4"; options = [ "noatime" ]; }; - "/usr/backup" = { - device = "usr/backup"; - fsType = "zfs"; - options = [ "nofail" ]; - }; - "/usr/media" = { - device = "usr/media"; - fsType = "zfs"; - options = [ "nofail" ]; - }; - "/usr/local" = { - device = "usr/local"; - fsType = "zfs"; - options = [ "nofail" ]; - }; - "/usr/share" = { - device = "usr/share"; - fsType = "zfs"; - options = [ "nofail" ]; - }; "/usr/drive" = { device = "kiiro:/volume1/homes/hlissner/Drive"; fsType = "nfs";