From fb74122458249dcf0fb653427a303ab20123f6b3 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sat, 25 Feb 2023 11:23:26 -0500 Subject: [PATCH] fix hardware-configuration for swan --- hosts/swan/hardware-configuration.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hosts/swan/hardware-configuration.nix b/hosts/swan/hardware-configuration.nix index bcf62c3..f8d211c 100644 --- a/hosts/swan/hardware-configuration.nix +++ b/hosts/swan/hardware-configuration.nix @@ -12,6 +12,16 @@ boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; + fileSystems."/" = { + device = "/dev/disk/by-label/nixos"; + fsType = "ext4"; + }; + + fileSystems."/boot" = { + device = "/dev/disk/by-label/boot"; + fsType = "vfat"; + }; + swapDevices = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking