2024-06-05 20:52:52 +02: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-08-21 09:02:49 +02:00
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
pkgs,
|
|
|
|
|
modulesPath,
|
|
|
|
|
...
|
|
|
|
|
}: {
|
|
|
|
|
imports = [
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
];
|
2024-06-05 20:52:52 +02:00
|
|
|
|
|
2024-08-21 09:02:49 +02:00
|
|
|
|
boot.initrd.availableKernelModules = ["nvme" "ehci_pci" "xhci_pci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc"];
|
|
|
|
|
boot.initrd.kernelModules = [];
|
|
|
|
|
boot.kernelModules = ["kvm-amd"];
|
|
|
|
|
boot.extraModulePackages = [];
|
2024-06-05 20:52:52 +02:00
|
|
|
|
|
2024-08-21 09:02:49 +02:00
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/7bc13c8d-91dd-4022-b4a8-624970b94a78";
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
2024-06-05 20:52:52 +02:00
|
|
|
|
|
2024-08-21 09:02:49 +02:00
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/ABA5-ED78";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
options = ["fmask=0022" "dmask=0022"];
|
|
|
|
|
};
|
2024-06-05 20:52:52 +02:00
|
|
|
|
|
2024-08-15 13:46:28 +02:00
|
|
|
|
swapDevices = [
|
2024-08-21 09:02:49 +02:00
|
|
|
|
{device = "/swapfile";}
|
2024-08-15 13:46:28 +02:00
|
|
|
|
];
|
2024-06-05 20:52:52 +02: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-08-02 14:48:04 +02:00
|
|
|
|
# networking.interfaces.enp2s0f0.useDHCP = lib.mkDefault true;
|
|
|
|
|
# networking.interfaces.enp5s0.useDHCP = lib.mkDefault true;
|
|
|
|
|
# networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true;
|
2024-06-05 20:52:52 +02:00
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
|
}
|