2023-03-27 12:44:37 +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.
|
2025-01-29 00:51:37 +01:00
|
|
|
|
{
|
|
|
|
|
|
config,
|
|
|
|
|
|
lib,
|
|
|
|
|
|
pkgs,
|
|
|
|
|
|
modulesPath,
|
|
|
|
|
|
...
|
|
|
|
|
|
}:
|
2023-03-27 12:44:37 +02:00
|
|
|
|
|
|
|
|
|
|
{
|
2025-01-29 00:51:37 +01:00
|
|
|
|
imports = [
|
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
|
];
|
2023-03-27 12:44:37 +02:00
|
|
|
|
|
2025-01-29 00:51:37 +01:00
|
|
|
|
boot.initrd.availableKernelModules = [
|
|
|
|
|
|
"xhci_pci"
|
|
|
|
|
|
"ahci"
|
|
|
|
|
|
"nvme"
|
|
|
|
|
|
"usb_storage"
|
|
|
|
|
|
"usbhid"
|
|
|
|
|
|
"sd_mod"
|
|
|
|
|
|
];
|
2025-01-01 22:17:08 +00:00
|
|
|
|
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
2023-03-27 12:44:37 +02:00
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
2025-01-29 00:51:37 +01:00
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
|
device = "/dev/disk/by-uuid/69528c2b-4fe1-4ff8-a77b-2fc000669629";
|
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
|
};
|
2023-03-27 12:44:37 +02:00
|
|
|
|
|
2025-01-29 00:51:37 +01:00
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
|
|
device = "/dev/disk/by-uuid/139D-6775";
|
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
|
options = [
|
|
|
|
|
|
"fmask=0077"
|
|
|
|
|
|
"dmask=0077"
|
2025-01-05 23:21:14 +00:00
|
|
|
|
];
|
2025-01-29 00:51:37 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
swapDevices = [
|
|
|
|
|
|
{ device = "/dev/disk/by-uuid/aafdb506-7d0b-40ef-b87a-c14c39688b76"; }
|
|
|
|
|
|
];
|
2023-03-27 12:44:37 +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;
|
2023-07-21 16:55:20 +00:00
|
|
|
|
# networking.interfaces.enp9s0.useDHCP = lib.mkDefault true;
|
2023-03-27 12:44:37 +02:00
|
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
2024-08-07 07:11:42 +00:00
|
|
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
2023-03-27 12:44:37 +02:00
|
|
|
|
}
|