"100 2026-01-27 16:08:19 26.05.20260123.c5296fd 6.18.7"

This commit is contained in:
Larra Emily Sarah
2026-01-27 17:03:29 +01:00
parent 67e095d6e7
commit d936f72cb9
6 changed files with 67 additions and 27 deletions

View File

@@ -0,0 +1,63 @@
# 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"];
boot.kernelModules = ["kvm-amd" "amdgpu"];
boot.extraModulePackages = [];
fileSystems."/" = {
device = "/dev/disk/by-uuid/50366080-c1da-4726-b930-e5cd619afaaa";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/A720-72DC";
fsType = "vfat";
options = ["fmask=0077" "dmask=0077"];
};
swapDevices = [
{device = "/dev/disk/by-uuid/f4b35122-4041-4b39-a9e0-5358f7e4b634";}
];
# 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.eno1.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
#############
### hardware
#############
# everything amd gpu
hardware.graphics.enable32Bit = true;
hardware.graphics.extraPackages = [
pkgs.rocmPackages.clr.icd
pkgs.libva
];
boot.initrd.kernelModules = ["amdgpu"];
hardware.amdgpu.overdrive.ppfeaturemask = "0xffffffff";
services.hardware.openrgb.enable = true;
hardware.openrazer = {
enable = true;
users = ["sarah"];
};
}