From e34bb27341ec003b27e43b6caad889ff48f6dacc Mon Sep 17 00:00:00 2001 From: osbm Date: Fri, 13 Jun 2025 18:16:30 +0300 Subject: [PATCH] update hardware config of wallfacer --- hosts/wallfacer/hardware-configuration.nix | 49 +++++++++++----------- 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/hosts/wallfacer/hardware-configuration.nix b/hosts/wallfacer/hardware-configuration.nix index 14fbff5..d8621d9 100644 --- a/hosts/wallfacer/hardware-configuration.nix +++ b/hosts/wallfacer/hardware-configuration.nix @@ -1,33 +1,32 @@ +# 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, - pkgs, - modulesPath, - ... -}: { - imports = [ - (modulesPath + "/installer/scan/not-detected.nix") - ]; + imports = + [ (modulesPath + "/installer/scan/not-detected.nix") + ]; - boot.initrd.availableKernelModules = ["ahci" "ehci_pci" "megaraid_sas" "usbhid" "usb_storage" "sd_mod"]; - boot.initrd.kernelModules = []; - boot.kernelModules = ["kvm-intel"]; - boot.extraModulePackages = []; + boot.initrd.availableKernelModules = [ "ahci" "ehci_pci" "megaraid_sas" "nvme" "usbhid" "usb_storage" "sd_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; - fileSystems."/" = { - device = "/dev/disk/by-uuid/46b73f8b-3ff6-40dd-8af2-b5147721f0ef"; - fsType = "ext4"; - }; + fileSystems."/" = + { device = "/dev/disk/by-uuid/8270dba5-6d89-438a-90bd-d9f29b20cb5b"; + fsType = "ext4"; + }; - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/7F4A-78DC"; - fsType = "vfat"; - options = ["fmask=0077" "dmask=0077"]; - }; + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/A1EB-43F8"; + fsType = "vfat"; + options = [ "fmask=0077" "dmask=0077" ]; + }; - swapDevices = [ - {device = "/dev/disk/by-uuid/9c358d49-467a-4dd1-91f2-b590dd5d60e7";} - ]; + swapDevices = + [ { device = "/dev/disk/by-uuid/534ea30c-2664-498b-915f-41b037eba01b"; } + ]; # 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