2024-05-28 11:44:27 -06: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-05-27 21:12:29 -06:00
|
|
|
|
{ config, lib, modulesPath, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports =
|
|
|
|
|
[
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
boot = {
|
|
|
|
|
initrd = {
|
2024-05-28 11:44:27 -06:00
|
|
|
|
availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "usbhid" "sd_mod" ];
|
2024-06-13 21:08:23 -06:00
|
|
|
|
kernelModules = [ "cdc-acm" ];
|
2024-05-27 21:12:29 -06:00
|
|
|
|
};
|
2024-06-13 21:08:23 -06:00
|
|
|
|
kernelModules = [ "kvm-intel" "cdc-acm" ];
|
2024-05-27 21:12:29 -06:00
|
|
|
|
extraModulePackages = [ ];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/" =
|
|
|
|
|
{
|
2024-05-28 11:44:27 -06:00
|
|
|
|
device = "/dev/disk/by-uuid/9833387e-b5d9-4e77-8891-7829a0e83954";
|
2024-05-27 21:12:29 -06:00
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
|
|
|
|
|
2024-05-28 11:44:27 -06:00
|
|
|
|
fileSystems."/boot" =
|
|
|
|
|
{
|
|
|
|
|
device = "/dev/disk/by-uuid/B185-050E";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
options = [ "fmask=0022" "dmask=0022" ];
|
|
|
|
|
};
|
2024-05-27 21:12:29 -06:00
|
|
|
|
|
2024-05-28 11:44:27 -06:00
|
|
|
|
swapDevices = [ ];
|
|
|
|
|
|
|
|
|
|
# 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`.
|
2024-05-27 21:12:29 -06:00
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
2024-05-28 11:44:27 -06:00
|
|
|
|
# networking.interfaces.enp0s13f0u3.useDHCP = lib.mkDefault true;
|
2024-05-27 21:12:29 -06:00
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
2024-05-29 21:09:40 -06:00
|
|
|
|
hardware = {
|
|
|
|
|
cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
|
bluetooth.enable = true;
|
|
|
|
|
};
|
2024-05-27 21:12:29 -06:00
|
|
|
|
}
|