gamemode: Add configuration for gpu card
This commit is contained in:
parent
45f6ade78c
commit
52d35e019d
5 changed files with 26 additions and 5 deletions
|
|
@ -1,9 +1,14 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
../../modules/gamemode.nix
|
||||
];
|
||||
boot.kernelPackages = pkgs.linuxPackages_zen;
|
||||
boot.kernelParams = [
|
||||
"amdgpu.ppfeaturemask=0xffffffff"
|
||||
];
|
||||
networking.hostName = "marmo";
|
||||
|
||||
programs.gamemode = {
|
||||
device = 1;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,14 @@
|
|||
];
|
||||
networking.hostName = "spaceship";
|
||||
|
||||
programs.gamemode = {
|
||||
device = 0;
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
linuxKernel.packages.linux_zen.virtualbox
|
||||
];
|
||||
|
||||
virtualisation.virtualbox.host.enable = true;
|
||||
users.extraGroups.vboxusers.members = [ "dashie" ];
|
||||
virtualisation.virtualbox.guest.enable = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue