From 2cd9bfcda631362915c000feacb472333830126c Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Sat, 19 Jul 2025 22:16:30 +0000 Subject: [PATCH] Add pool over nfs --- smini/hardware-configuration.nix | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/smini/hardware-configuration.nix b/smini/hardware-configuration.nix index 0903f48..c6d41da 100644 --- a/smini/hardware-configuration.nix +++ b/smini/hardware-configuration.nix @@ -12,6 +12,8 @@ boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; + boot.supportedFilesystems = [ "zfs" ]; + networking.hostId = "81fdcc33"; fileSystems."/" = { device = "/dev/disk/by-uuid/c5820e22-2f08-461e-8003-1e99d0e783e9"; @@ -25,6 +27,15 @@ options = [ "fmask=0077" "dmask=0077" ]; }; + boot.zfs = { + forceImportRoot = false; + extraPools = [ "pool" ]; + }; + services.zfs = { + autoScrub.enable = true; + trim.enable = true; + }; + swapDevices = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking @@ -34,6 +45,10 @@ networking.useDHCP = lib.mkDefault true; # networking.interfaces.enp1s0.useDHCP = lib.mkDefault true; # networking.interfaces.wlo1.useDHCP = lib.mkDefault true; + hardware.bluetooth = { + enable = true; + powerOnBoot = true; + }; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -- Gitblit v1.10.0