mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-03 00:15:35 +02:00
containers(osu): Remove gamemode
gamemode is started from the host, so this isn't needed.
This commit is contained in:
parent
b0dd76886a
commit
4fdfb6b94b
@ -38,7 +38,7 @@ in
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
config = { pkgs, lib, ... }: {
|
config = { pkgs, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
stylix.nixosModules.stylix
|
stylix.nixosModules.stylix
|
||||||
@ -49,21 +49,6 @@ in
|
|||||||
../modules/pipewire
|
../modules/pipewire
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.gamemode = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
general = {
|
|
||||||
renice = 10;
|
|
||||||
igpu_power_threshold = -1;
|
|
||||||
};
|
|
||||||
|
|
||||||
custom = {
|
|
||||||
start = "${pkgs.libnotify}/bin/notify-send 'Note' 'gamemode started.'";
|
|
||||||
end = "${pkgs.libnotify}/bin/notify-send 'Note' 'gamemode ended.";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
nix-gaming.packages."${VARIABLES.system}".osu-stable
|
nix-gaming.packages."${VARIABLES.system}".osu-stable
|
||||||
kitty
|
kitty
|
||||||
|
Loading…
x
Reference in New Issue
Block a user