diff --git a/hosts/clerie-backup/hardware-configuration.nix b/hosts/clerie-backup/hardware-configuration.nix index bee617a..c9d66e6 100644 --- a/hosts/clerie-backup/hardware-configuration.nix +++ b/hosts/clerie-backup/hardware-configuration.nix @@ -9,8 +9,8 @@ ]; boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ]; - boot.initrd.kernelModules = [ "dm-snapshot" ]; - boot.kernelModules = [ ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; fileSystems."/" = @@ -19,10 +19,18 @@ }; fileSystems."/mnt/clerie-backup" = - { device = "/dev/disk/by-uuid/69de70f0-9b46-47f3-9ac7-348f57934d55"; + { device = "/dev/disk/by-uuid/69e75b00-23e1-4775-98a6-061a79d806cf"; fsType = "ext4"; }; swapDevices = [ ]; + # Enables DHCP on each ethernet and wireless interface. In case of scripted networking + # (the default) this is the recommended approach. When using systemd-networkd it's + # still possible to use this option, but it's recommended to use it in conjunction + # with explicit per-interface declarations with `networking.interfaces..useDHCP`. + networking.useDHCP = lib.mkDefault true; + # networking.interfaces.ens18.useDHCP = lib.mkDefault true; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; }