diff --git a/containers/osu.nix b/containers/osu.nix index e78993a2..2bfc8ec2 100644 --- a/containers/osu.nix +++ b/containers/osu.nix @@ -42,11 +42,28 @@ in imports = [ home-manager.nixosModules.home-manager stylix.nixosModules.stylix + nix-gaming.nixosModules.pipewireLowLatency ./common/wayland.nix ../modules/fonts ../modules/stylix + ../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; [ nix-gaming.packages."${VARIABLES.system}".osu-stable kitty