diff --git a/system/machine/home/hardware-configuration.nix b/system/machine/home/hardware-configuration.nix index 2d6229f..72f9ded 100644 --- a/system/machine/home/hardware-configuration.nix +++ b/system/machine/home/hardware-configuration.nix @@ -4,30 +4,33 @@ { config, lib, pkgs, modulesPath, ... }: { - imports = - [ - (modulesPath + "/installer/scan/not-detected.nix") - ]; + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; + boot = { + initrd = { + availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "sd_mod" ]; + kernelModules = [ ]; + }; - fileSystems."/" = - { + kernelModules = [ "kvm-amd" ]; + extraModulePackages = [ ]; + }; + + fileSystems = { + "/" = { device = "/dev/disk/by-uuid/969c5f68-631d-4429-b81b-0d81e050449b"; fsType = "ext4"; }; - fileSystems."/home" = - { + "/home" = { device = "/dev/disk/by-uuid/e17fb0c0-9482-436d-83e8-3760772fe9b8"; fsType = "ext4"; }; + }; - swapDevices = - [{ device = "/dev/disk/by-uuid/1be15503-cd51-4c57-bb91-04f45a964202"; }]; + swapDevices = [{ device = "/dev/disk/by-uuid/1be15503-cd51-4c57-bb91-04f45a964202"; }]; # 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