modularize config

This commit is contained in:
DashieTM 2024-07-10 17:03:31 +02:00
parent 09c4625fbb
commit 7a4e46e04f
33 changed files with 230 additions and 168 deletions

View file

@ -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 = {