some stuff

This commit is contained in:
xunuwu 2024-05-21 22:15:08 +02:00
parent cd8343c0c4
commit d2fd9fda8a
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
26 changed files with 377 additions and 83 deletions

View file

@ -1,10 +1,16 @@
{inputs, ...}: {
{
inputs,
config,
pkgs,
...
}: {
imports = [
inputs.hardware.nixosModules.common-cpu-amd
inputs.hardware.nixosModules.common-gpu-amd
inputs.hardware.nixosModules.common-pc-ssd
./gigabyte-b550-fix.nix
];
boot = {
initrd = {
availableKernelModules = [
@ -18,6 +24,9 @@
kernelModules = ["amdgpu"];
};
kernelModules = ["kvm-amd"];
extraModulePackages = with config.boot.kernelPackages; [
rtl88xxau-aircrack # usb wifi card
];
loader = {
timeout = 10;
systemd-boot = {