2024-06-15 18:29:36 -03: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-06-16 20:08:29 -03:00
|
|
|
|
{
|
|
|
|
|
|
config,
|
|
|
|
|
|
lib,
|
|
|
|
|
|
pkgs,
|
|
|
|
|
|
modulesPath,
|
|
|
|
|
|
...
|
2024-06-15 18:29:36 -03:00
|
|
|
|
}: {
|
|
|
|
|
|
imports = [
|
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
|
];
|
|
|
|
|
|
|
2024-06-16 20:08:29 -03:00
|
|
|
|
boot.initrd.availableKernelModules = ["ahci" "xhci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_acpi"];
|
|
|
|
|
|
boot.initrd.kernelModules = [];
|
|
|
|
|
|
boot.kernelModules = ["kvm-intel"];
|
|
|
|
|
|
boot.extraModulePackages = [];
|
2024-06-15 18:29:36 -03:00
|
|
|
|
|
|
|
|
|
|
fileSystems."/" = {
|
2025-09-13 11:27:55 -03:00
|
|
|
|
device = "/dev/disk/by-uuid/c9203e5d-f4ff-44b6-9c21-219b285ceae0";
|
2024-06-15 18:29:36 -03:00
|
|
|
|
fsType = "ext4";
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" = {
|
2025-09-13 11:27:55 -03:00
|
|
|
|
device = "/dev/disk/by-uuid/A149-1832";
|
2024-06-15 18:29:36 -03:00
|
|
|
|
fsType = "vfat";
|
2025-09-13 11:27:55 -03:00
|
|
|
|
options = ["fmask=0077" "dmask=0077"];
|
2024-06-15 18:29:36 -03:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
swapDevices = [
|
2025-09-13 11:27:55 -03:00
|
|
|
|
{device = "/dev/disk/by-uuid/6200d844-ca65-4223-a188-81a83cf0cb7c";}
|
2024-06-15 18:29:36 -03: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;
|
|
|
|
|
|
# networking.interfaces.eno1.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
|
|
}
|