2023-12-24 17:40:47 +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.
|
|
|
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
2023-12-25 01:37:05 +01:00
|
|
|
|
imports = [
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
];
|
2023-12-24 17:40:47 +01:00
|
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
2023-12-25 01:37:05 +01:00
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/45ceae6b-cf6d-42d6-9694-d14c1d42b49f";
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
2023-12-24 17:40:47 +01:00
|
|
|
|
|
2023-12-25 01:37:05 +01:00
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/DDDC-5C0C";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
2023-12-24 17:40:47 +01:00
|
|
|
|
|
2023-12-25 01:37:05 +01:00
|
|
|
|
swapDevices = [ {
|
|
|
|
|
device = "/swapfile";
|
|
|
|
|
size = 8*1024;
|
|
|
|
|
} ];
|
2023-12-24 17:40:47 +01:00
|
|
|
|
|
|
|
|
|
networking.useDHCP = lib.mkDefault false;
|
|
|
|
|
# networking.interfaces.enp3s0.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
|
}
|