i forogr
This commit is contained in:
parent
efe09d0045
commit
4120f3a090
6 changed files with 28 additions and 32 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
18
modules/software/system/ananicy.nix
Normal file
18
modules/software/system/ananicy.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue