reinstall on Starscream

This commit is contained in:
mir 2024-05-28 13:03:44 -08:00
parent b5efafcb45
commit 90442596c6
2 changed files with 10 additions and 6 deletions

View File

@ -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 @@
};
};
}

View File

@ -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.<interface>.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;