steam tinkering

This commit is contained in:
cnst
2024-06-29 19:29:43 +02:00
parent e60e04b9de
commit 2f02cf259f
7 changed files with 89 additions and 63 deletions

View File

@@ -23,6 +23,7 @@ in {
"docker"
"libvirtd"
"network"
"gamemode"
];
};

View File

@@ -7,10 +7,8 @@
pkgs,
modulesPath,
...
}:
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
}: {
imports = [(modulesPath + "/installer/scan/not-detected.nix")];
boot = {
initrd = {
@@ -21,17 +19,19 @@
"usbhid"
"usb_storage"
"sd_mod"
"amdgpu"
];
kernelModules = [ ];
kernelModules = [];
};
kernelModules = [ "kvm-amd" ];
kernelPackages = pkgs.linuxPackages_latest;
kernelModules = ["kvm-amd"];
kernelPackages = pkgs.linuxPackages_zen;
consoleLogLevel = 3;
kernelParams = [
"quiet"
"splash"
"amdgpu.ppfeaturemask=0xffffffff"
];
extraModulePackages = [ ];
extraModulePackages = [];
};
fileSystems."/" = {
@@ -50,7 +50,7 @@
];
};
swapDevices = [ ];
swapDevices = [];
# 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