forked from extern/nix-config
containers(osu): Fix audio
This commit is contained in:
parent
a642433003
commit
0f1ea26e84
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user