From 4188e0f003bd863f0260051a5969991fe8587c4d Mon Sep 17 00:00:00 2001 From: Miranda Marquez Date: Thu, 11 Apr 2024 11:36:56 -0800 Subject: [PATCH] zfs stuff - each device will need /etc/machineID --- flake.nix | 5 ++++- hardware/knockout-hw.nix | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index f3659a4..a775dbb 100644 --- a/flake.nix +++ b/flake.nix @@ -142,7 +142,10 @@ ./configuration.nix { services.xserver.videoDrivers = [ "modesetting" "displaylink" ]; boot.loader.efi.canTouchEfiVariables = true; - networking.hostName = "knockout"; + networking = { + hostName = "knockout"; + hostId = "499130bf"; + }; sound.enable = true; } ./modules/droidcam-obs.nix # only this machine diff --git a/hardware/knockout-hw.nix b/hardware/knockout-hw.nix index 4f6cbc2..ceaa280 100644 --- a/hardware/knockout-hw.nix +++ b/hardware/knockout-hw.nix @@ -10,7 +10,7 @@ boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ]; boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; + boot.kernelModules = [ "kvm-intel" "zfs" ]; boot.extraModulePackages = [ ]; fileSystems."/" =