modularize config
This commit is contained in:
parent
09c4625fbb
commit
7a4e46e04f
33 changed files with 230 additions and 168 deletions
|
|
@ -1,12 +1,8 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ...
|
||||
}: {
|
||||
imports = [
|
||||
# ./anyrun.nix
|
||||
# ./config.nix
|
||||
];
|
||||
|
||||
}: lib.mkIf config.conf.gaming.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
gamemode
|
||||
steam
|
||||
|
|
@ -25,7 +21,7 @@
|
|||
};
|
||||
gpu = {
|
||||
apply_gpu_optimisations = "accept-responsibility";
|
||||
gpu_device = config.programs.gamemode.device;
|
||||
gpu_device = config.conf.gaming.device;
|
||||
amd_performance_level = "high";
|
||||
};
|
||||
custom = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue