This commit is contained in:
Reid 2025-01-09 22:27:53 -08:00
parent efe09d0045
commit 4120f3a090
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
6 changed files with 28 additions and 32 deletions

View file

@ -11,6 +11,11 @@ in {
config = mkIf cfg.enable {
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
hardware.bluetooth.settings = {
General = {
Experimental = true;
};
};
# frontend
services.blueman.enable = true;

View file

@ -1,26 +0,0 @@
{ lib, config, pkgs, ... }:
with lib;
let
cfg = config.modules.software.distractions.gamemode;
in {
options.modules.software.distractions.gamemode = {
enable = mkEnableOption "Enable Gamemode, a program to optimize your system performance on demand";
};
config = mkIf cfg.enable {
# optimize linux system performance on demand
# https://github.com/FeralInteractive/gamemode
user.extraGroups = [ "gamemode" ];
programs.gamemode = {
enable = true;
enableRenice = true;
settings = {
general = {
softrealtime = "auto";
renice = 10;
};
};
};
};
}

View file

@ -10,7 +10,6 @@ in {
config = mkIf cfg.enable {
programs.steam.enable = true;
user.packages = [ pkgs.protontricks pkgs.steam-run ];
programs.steam.protontricks.enable = true;
};
}

View file

@ -0,0 +1,18 @@
{ lib, config, pkgs, ... }:
with lib;
let
cfg = config.modules.software.system.ananicy;
in {
options.modules.software.system.ananicy = {
enable = mkEnableOption "Enable Ananicy, an auto nice daemon with community rules support";
};
config = mkIf cfg.enable {
services.ananicy = {
enable = true;
package = pkgs.ananicy-cpp;
rulesProvider = pkgs.ananicy-rules-cachyos;
};
};
}