arcadia-hardware.nix (999B)
1 { config, lib, modulesPath, ... }: 2 3 { 4 imports = 5 [ (modulesPath + "/installer/scan/not-detected.nix") 6 ]; 7 8 boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; 9 boot.initrd.kernelModules = [ ]; 10 boot.kernelModules = [ "kvm-intel" ]; 11 boot.extraModulePackages = [ ]; 12 13 fileSystems."/" = 14 { device = "/dev/disk/by-uuid/705ee72a-0cbf-40a3-a6cb-4ddd976b3d8f"; 15 fsType = "ext4"; 16 }; 17 18 fileSystems."/boot" = 19 { device = "/dev/disk/by-uuid/7D86-A86F"; 20 fsType = "vfat"; 21 options = [ "fmask=0077" "dmask=0077" ]; 22 }; 23 24 swapDevices = [ ]; 25 26 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 27 hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 28 29 # Bootloader 30 boot.loader.systemd-boot.enable = true; 31 boot.loader.efi.canTouchEfiVariables = true; 32 33 # Networking, use DHCP 34 networking.networkmanager.enable = true; 35 networking.useDHCP = lib.mkDefault true; 36 37 }