mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-22 10:41:35 +02:00
containers(osu): Fix audio
This commit is contained in:
parent
a642433003
commit
0f1ea26e84
@ -42,11 +42,28 @@ in
|
|||||||
imports = [
|
imports = [
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
stylix.nixosModules.stylix
|
stylix.nixosModules.stylix
|
||||||
|
nix-gaming.nixosModules.pipewireLowLatency
|
||||||
./common/wayland.nix
|
./common/wayland.nix
|
||||||
../modules/fonts
|
../modules/fonts
|
||||||
../modules/stylix
|
../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; [
|
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