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