diff --git a/machines/nunotaba/hardware-configuration.nix b/machines/nunotaba/hardware-configuration.nix index b78db24..97182ba 100644 --- a/machines/nunotaba/hardware-configuration.nix +++ b/machines/nunotaba/hardware-configuration.nix @@ -1,32 +1,34 @@ { config, lib, modulesPath, pkgs, ... }: { - imports = - [ - (modulesPath + "/installer/scan/not-detected.nix") - ]; + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "rtsx_pci_sdmmc" ]; - boot.initrd.kernelModules = [ "dm-snapshot" ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; + boot = { + kernelModules = [ "kvm-intel" ]; + extraModulePackages = [ ]; + initrd = { + availableKernelModules = [ "ahci" "ehci_pci" "rtsx_pci_sdmmc" "sd_mod" "usb_storage" "usbhid" "xhci_pci" ]; + kernelModules = [ "dm-snapshot" ]; + }; + }; - fileSystems."/" = - { + fileSystems = { + "/" = { device = "/dev/disk/by-uuid/8937d1ac-23cb-456f-9c16-e348acc66bb7"; fsType = "ext4"; }; - fileSystems."/boot" = - { + "/boot" = { device = "/dev/disk/by-uuid/da2e90cc-1e0c-4691-8807-5d2f4858df6e"; fsType = "ext2"; }; + }; - swapDevices = - [ - { device = "/dev/disk/by-uuid/b9ad2d56-fee0-49df-98c1-00d93d991b9f"; } - ]; + swapDevices = [ + { device = "/dev/disk/by-uuid/b9ad2d56-fee0-49df-98c1-00d93d991b9f"; } + ]; nix.maxJobs = lib.mkDefault 4; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; diff --git a/machines/sayuri/hardware-configuration.nix b/machines/sayuri/hardware-configuration.nix index e993cc3..e3a0654 100644 --- a/machines/sayuri/hardware-configuration.nix +++ b/machines/sayuri/hardware-configuration.nix @@ -1,33 +1,34 @@ -# Do not modify this file! It was generated by ‘nixos-generate-config’ -# and may be overwritten by future invocations. Please make changes -# to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: +{ config, lib, modulesPath, pkgs, ... }: { - imports = - [ - (modulesPath + "/installer/scan/not-detected.nix") - ]; + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; - boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "ehci_pci" "usb_storage" "usbhid" "sd_mod" ]; - boot.initrd.kernelModules = [ "dm-snapshot" ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; + boot = { + kernelModules = [ "kvm-intel" ]; + extraModulePackages = [ ]; + initrd = { + availableKernelModules = [ "ahci" "ehci_pci" "sd_mod" "usb_storage" "usbhid" "xhci_pci" ]; + kernelModules = [ "dm-snapshot" ]; + }; + }; - fileSystems."/" = - { + fileSystems = { + "/" = { device = "/dev/disk/by-uuid/024e31ab-aa98-4070-95be-7980043541ac"; fsType = "ext4"; }; - fileSystems."/boot" = - { + "/boot" = { device = "/dev/disk/by-uuid/c5bde64b-c629-438d-a78b-c4341796dae9"; fsType = "ext2"; }; + }; - swapDevices = - [{ device = "/dev/disk/by-uuid/78f5277f-a6e5-4297-99cd-d3ea5de5317e"; }]; + swapDevices = [ + { device = "/dev/disk/by-uuid/78f5277f-a6e5-4297-99cd-d3ea5de5317e"; } + ]; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; }