From 7e144b675fc2b93f7c0f6325276eca69d560f1d5 Mon Sep 17 00:00:00 2001 From: truxnell <19149206+truxnell@users.noreply.github.com> Date: Sat, 16 Mar 2024 10:02:30 +1100 Subject: [PATCH] feat: generic vm hardware --- nixos/hosts/nixosvm/hardware-configuration.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/hosts/nixosvm/hardware-configuration.nix b/nixos/hosts/nixosvm/hardware-configuration.nix index 89cfd28..e660dcc 100644 --- a/nixos/hosts/nixosvm/hardware-configuration.nix +++ b/nixos/hosts/nixosvm/hardware-configuration.nix @@ -12,17 +12,17 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/e9c21872-a682-4418-9fae-a5ff2a16362d"; + { device = "/dev/disk/by-label/nixos"; fsType = "ext4"; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/5572-019E"; + { device = "/dev/disk/by-label/boot"; fsType = "vfat"; }; swapDevices = - [ { device = "/dev/disk/by-uuid/34d04571-5752-426a-b4bc-48c88a1a4def"; } + [ { device = "/dev/disk/b"; } ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking