From f8fddbba148ba55a0b5f208b61709a1db3eb4cc2 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sat, 4 Oct 2025 23:57:46 +0200 Subject: [PATCH] Fix ZFS issue with virtual disks (https://discourse.nixos.org/t/zfs-with-disko-faluire-to-import-zfs-pool/61988/3) --- hosts/vm/configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/vm/configuration.nix b/hosts/vm/configuration.nix index 7eb7924..2b66865 100644 --- a/hosts/vm/configuration.nix +++ b/hosts/vm/configuration.nix @@ -18,6 +18,12 @@ nix.settings.experimental-features = [ "nix-command" "flakes" ]; + boot = { + zfs = { + devNodes = "/dev/disk/by-uuid"; + }; + }; + programs.git.enable = true; programs.firefox.enable = true;