2023-06-22 09:03:42 +01:00
|
|
|
|
# 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.
|
2024-07-30 15:06:34 +01:00
|
|
|
|
{
|
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
pkgs,
|
|
|
|
|
modulesPath,
|
|
|
|
|
...
|
|
|
|
|
}:
|
2023-06-22 09:03:42 +01:00
|
|
|
|
|
|
|
|
|
{
|
2024-07-30 15:06:34 +01:00
|
|
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
2023-06-22 09:03:42 +01:00
|
|
|
|
|
2024-07-30 15:06:34 +01:00
|
|
|
|
boot.initrd.availableKernelModules = [
|
|
|
|
|
"xhci_pci"
|
|
|
|
|
"ahci"
|
|
|
|
|
"nvme"
|
|
|
|
|
"usbhid"
|
|
|
|
|
"usb_storage"
|
|
|
|
|
"sd_mod"
|
|
|
|
|
];
|
2023-06-22 09:03:42 +01:00
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
2024-07-30 15:06:34 +01:00
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/b9d4ba04-a867-4ca6-88f9-79dc6a982e94";
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
2023-06-22 09:03:42 +01:00
|
|
|
|
|
2024-07-30 15:06:34 +01:00
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/8F05-4C3A";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
options = [
|
|
|
|
|
"fmask=0022"
|
|
|
|
|
"dmask=0022"
|
2023-06-22 09:03:42 +01:00
|
|
|
|
];
|
2024-07-30 15:06:34 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
swapDevices = [ { device = "/dev/disk/by-uuid/a10ee1da-3b0d-4f6b-b20a-d6a32ae1f668"; } ];
|
2023-06-22 09:03:42 +01:00
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
# 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;
|
2024-04-17 16:42:44 +01:00
|
|
|
|
# networking.interfaces.enp1s0.useDHCP = lib.mkDefault true;
|
|
|
|
|
# networking.interfaces.enp2s0.useDHCP = lib.mkDefault true;
|
|
|
|
|
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
|
2023-06-22 09:03:42 +01:00
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
|
}
|