From 90442596c6e63a84b4eb71050b8b87c2e464d04a Mon Sep 17 00:00:00 2001 From: mir Date: Tue, 28 May 2024 13:03:44 -0800 Subject: [PATCH] reinstall on Starscream --- flake.nix | 6 +++++- hardware/starscream-hw.nix | 10 +++++----- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index 2cb9016..adfa5ed 100644 --- a/flake.nix +++ b/flake.nix @@ -138,7 +138,10 @@ modules = [ ./configuration.nix { services.xserver.videoDrivers = [ "modesetting" "displaylink" ]; - networking.hostName = "starscream"; + networking = { + hostName = "starscream"; + hostId = "45ca7150"; + }; boot.loader.efi.canTouchEfiVariables = true; sound.enable = true; } @@ -213,3 +216,4 @@ }; }; } + diff --git a/hardware/starscream-hw.nix b/hardware/starscream-hw.nix index 4c4829d..eb5f509 100644 --- a/hardware/starscream-hw.nix +++ b/hardware/starscream-hw.nix @@ -8,23 +8,23 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" "wl" ]; boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/b9b84795-44a7-46c7-803b-0e26cac8ee6f"; + { device = "/dev/disk/by-uuid/3ef81aad-67a6-412d-ae17-a60d14159c97"; fsType = "ext4"; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/CB3C-90B6"; + { device = "/dev/disk/by-uuid/FBB5-2030"; fsType = "vfat"; }; swapDevices = - [ { device = "/dev/disk/by-uuid/1c45df54-fb11-4ff6-8765-ed7f33679c98"; } + [ { device = "/dev/disk/by-uuid/c435e39b-ff4d-4cb9-b09f-cc1ff448761e"; } ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking @@ -32,7 +32,7 @@ # 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.enp0s20u2i1.useDHCP = lib.mkDefault true; + # networking.interfaces.enp0s20u1.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;