gamemode: Add configuration for gpu card
This commit is contained in:
parent
45f6ade78c
commit
52d35e019d
5 changed files with 26 additions and 5 deletions
11
nix/modules/gamemode.nix
Normal file
11
nix/modules/gamemode.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ lib, ... }: {
|
||||
options.programs.gamemode = {
|
||||
device = lib.mkOption {
|
||||
default = 0;
|
||||
example = 0;
|
||||
description = ''
|
||||
GPU device number
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue