41 lines
1.5 KiB
Nix
Raw Normal View History

2023-08-21 21:41:39 -07: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 =
2023-08-30 20:26:55 -07:00
[ (modulesPath + "/installer/scan/not-detected.nix")
2023-08-21 21:41:39 -07:00
];
2023-08-30 20:26:55 -07:00
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
2023-08-21 21:41:39 -07:00
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
2023-08-30 20:26:55 -07:00
{ device = "/dev/disk/by-uuid/ff26006b-37a0-4cfe-901b-6c1fb4d2cbbb";
2023-08-21 21:41:39 -07:00
fsType = "ext4";
};
fileSystems."/boot" =
2023-08-30 20:26:55 -07:00
{ device = "/dev/disk/by-uuid/80B1-3DF9";
2023-08-21 21:41:39 -07:00
fsType = "vfat";
};
swapDevices =
2023-08-30 20:26:55 -07:00
[ { device = "/dev/disk/by-uuid/b11acbe6-69f7-4a03-a79e-c17a5563ed17"; }
2023-08-21 21:41:39 -07: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-08-30 20:26:55 -07:00
# networking.interfaces.enp4s0f3u1u3.useDHCP = lib.mkDefault true;
# networking.interfaces.wlo1.useDHCP = lib.mkDefault true;
2023-08-21 21:41:39 -07:00
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
2023-08-30 20:26:55 -07:00
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
2023-08-21 21:41:39 -07:00
}