2021-10-28 22:15:24 +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, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports =
|
2022-03-14 17:34:32 +00:00
|
|
|
|
[
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
2021-10-28 22:15:24 +00:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
2021-12-09 20:54:26 +00:00
|
|
|
|
boot.initrd.kernelModules = [ "dm-snapshot" "amdgpu" ];
|
2021-10-28 22:15:24 +00:00
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
|
|
fileSystems."/" =
|
2022-03-14 17:34:32 +00:00
|
|
|
|
{
|
|
|
|
|
device = "/dev/disk/by-uuid/32a74827-4624-43ef-b066-b52e1f11793d";
|
2021-10-28 22:15:24 +00:00
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
2022-03-14 17:34:32 +00:00
|
|
|
|
{
|
|
|
|
|
device = "/dev/disk/by-uuid/549C-7877";
|
2021-10-28 22:15:24 +00:00
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
swapDevices =
|
2022-04-03 13:18:43 +00:00
|
|
|
|
[{ device = "/dev/disk/by-uuid/561f6441-1915-4059-a5e1-76a449b0c9bf"; }];
|
2021-10-28 22:15:24 +00:00
|
|
|
|
|
|
|
|
|
# high-resolution display
|
|
|
|
|
hardware.video.hidpi.enable = lib.mkDefault true;
|
2021-12-09 20:54:26 +00:00
|
|
|
|
|
|
|
|
|
# GPU options
|
|
|
|
|
services.xserver.videoDrivers = [ "amdgpu" ];
|
|
|
|
|
hardware.opengl.enable = true;
|
2022-03-15 20:32:47 +00:00
|
|
|
|
|
|
|
|
|
# bluetooth usb
|
|
|
|
|
hardware.firmware = [ pkgs.unfree.rtl8761b-firmware ];
|
2021-10-28 22:15:24 +00:00
|
|
|
|
}
|