2022-04-27 01:36:16 +00: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-01-31 14:07:47 +00:00
|
|
|
|
imports =
|
|
|
|
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
];
|
2022-04-27 01:36:16 +00:00
|
|
|
|
|
2023-01-31 14:07:47 +00:00
|
|
|
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
2022-04-27 01:36:16 +00:00
|
|
|
|
boot.initrd.kernelModules = [ ];
|
2023-01-31 14:07:47 +00:00
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
2022-04-27 01:36:16 +00:00
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
2023-01-31 14:07:47 +00:00
|
|
|
|
fileSystems."/" =
|
|
|
|
|
{ device = "/dev/disk/by-uuid/f0313f58-971a-46e3-9191-909fe5eb7f7e";
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
2022-04-27 01:36:16 +00:00
|
|
|
|
|
2023-01-31 14:07:47 +00:00
|
|
|
|
fileSystems."/boot" =
|
|
|
|
|
{ device = "/dev/disk/by-uuid/FB26-799C";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
2022-04-27 01:36:16 +00:00
|
|
|
|
|
|
|
|
|
swapDevices = [ ];
|
|
|
|
|
|
2023-01-31 14:07:47 +00: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.wlp4s0.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
2022-04-27 01:36:16 +00:00
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
2023-01-31 14:07:47 +00:00
|
|
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
2022-04-27 01:36:16 +00:00
|
|
|
|
}
|