move more modules

This commit is contained in:
Vinzenz Schroeter 2025-09-14 13:45:48 +02:00
parent 1b3b7cf607
commit 1f1b901330
12 changed files with 69 additions and 83 deletions

View file

@ -1,22 +0,0 @@
{ pkgs, config, ... }:
{
config = {
boot.kernelModules = [ "amdgpu" ];
services.xserver.videoDrivers = [ "amdgpu" ];
hardware = {
graphics.enable = true;
amdgpu = {
opencl.enable = true;
amdvlk = {
# TODO: this creates black borders around GNOME apps
# enable = true;
# support32Bit.enable = config.hardware.graphics.enable32Bit;
};
overdrive.enable = true;
};
};
environment.systemPackages = with pkgs; [ nvtopPackages.amd ];
};
}

View file

@ -19,12 +19,7 @@
mangohud
vulkan-tools
glxinfo
lutris
];
networking.firewall.allowedUDPPorts = [
# Factorio
34197
];
};
}

View file

@ -1,22 +0,0 @@
{ pkgs, vinzenzNixosModules, ... }:
{
imports = [ vinzenzNixosModules.allowed-unfree-list ];
config = {
hardware.graphics = {
extraPackages = with pkgs; [
intel-media-driver
intel-vaapi-driver
intel-ocl
intel-compute-runtime
vpl-gpu-rt
];
extraPackages32 = with pkgs.driversi686Linux; [
intel-vaapi-driver
intel-media-driver
];
};
environment.systemPackages = with pkgs; [ nvtopPackages.intel ];
allowedUnfreePackages = [ "intel-ocl" ];
};
}

View file

@ -1,9 +0,0 @@
{
documentation = {
enable = true; # documentation of packages
nixos.enable = false; # nixos documentation
man.enable = true; # manual pages and the man command
info.enable = false; # info pages and the info command
doc.enable = false; # documentation distributed in packages' /share/doc
};
}