2023-03-17 19:48:20 -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.
|
|
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports = [
|
2023-06-18 00:41:28 -06:00
|
|
|
|
../full.nix
|
2023-06-29 10:02:33 -06:00
|
|
|
|
../kat.nix
|
2023-03-17 19:48:20 -06:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
hardware.enableRedistributableFirmware = true;
|
|
|
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
|
|
2023-07-11 12:06:52 -06:00
|
|
|
|
boot.initrd.kernelModules = [ "amdgpu" ];
|
|
|
|
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" "amdgpu" ];
|
2023-03-17 19:48:20 -06:00
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
2023-07-11 12:06:52 -06:00
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
|
|
|
|
|
|
services.xserver = {
|
|
|
|
|
enable = true;
|
|
|
|
|
libinput.enable = true;
|
|
|
|
|
displayManager.sddm.enable = true;
|
|
|
|
|
desktopManager.plasma5.enable = true;
|
|
|
|
|
videoDrivers = [ "amdgpu" ];
|
|
|
|
|
};
|
2023-03-17 19:48:20 -06:00
|
|
|
|
|
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/cb96b029-df61-45d3-905b-a9435bf446df";
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/1C5A-4FBB";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
networking.hostName = "jay-lenovo";
|
|
|
|
|
|
2023-07-02 14:17:13 -06:00
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
2023-03-17 19:48:20 -06:00
|
|
|
|
|
|
|
|
|
system.stateVersion = "23.05";
|
|
|
|
|
}
|