2024-02-29 22:20:26 -05: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 = [
|
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod"];
|
2025-01-09 13:33:20 -05:00
|
|
|
|
boot.initrd.kernelModules = [];
|
2025-05-23 11:58:24 -04:00
|
|
|
|
boot.kernelModules = ["kvm-amd" "ntsync"];
|
2024-02-29 22:20:26 -05:00
|
|
|
|
boot.extraModulePackages = [];
|
|
|
|
|
|
|
2025-01-09 13:33:20 -05:00
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
|
device = "/dev/disk/by-uuid/ad6fa764-31b2-4dfd-9fc7-f2638c2e2e5e";
|
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
|
|
device = "/dev/disk/by-uuid/AACF-2693";
|
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
|
options = ["fmask=0077" "dmask=0077"];
|
|
|
|
|
|
};
|
|
|
|
|
|
|
2025-01-13 20:45:19 -05:00
|
|
|
|
fileSystems."/mnt/bk" = {
|
|
|
|
|
|
device = "/dev/disk/by-partuuid/f352c9b5-2207-4313-bcb4-ba0491de72fe";
|
|
|
|
|
|
fsType = "ext4";
|
2025-01-12 13:37:57 -05:00
|
|
|
|
options = [
|
|
|
|
|
|
"auto" # Mount at boot
|
|
|
|
|
|
];
|
|
|
|
|
|
};
|
|
|
|
|
|
|
2025-01-09 13:33:20 -05:00
|
|
|
|
swapDevices = [
|
|
|
|
|
|
{device = "/dev/disk/by-uuid/5c74e955-26c7-4f71-9b48-975a89b1d5ec";}
|
|
|
|
|
|
];
|
|
|
|
|
|
|
2024-02-29 22:20:26 -05: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.enp5s0.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
# networking.interfaces.enp6s0.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
# networking.interfaces.wlp7s0.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
|
|
}
|