miku: Add gamemode

This commit is contained in:
PapaTutuWawa 2021-08-02 21:55:27 +02:00
parent a8fd0942a5
commit 9d6352eec8

View File

@ -10,7 +10,7 @@ in {
./modules/hardware/generic.nix ./modules/hardware/video.nix ./modules/hardware/generic.nix ./modules/hardware/video.nix
./modules/fonts.nix ./modules/fonts.nix
./modules/users/alexander.nix ./modules/users/alexander.nix
./modules/programs/zsh ./modules/programs/git ./modules/programs/mpv ./modules/programs/tmux ./modules/programs/emacs ./modules/programs/firefox ./modules/programs/gnome-terminal ./modules/programs/gnome ./modules/programs/nonvm ./modules/programs/zsh ./modules/programs/git ./modules/programs/mpv ./modules/programs/tmux ./modules/programs/emacs ./modules/programs/firefox ./modules/programs/gnome-terminal ./modules/programs/gnome ./modules/programs/i18n.nix ./modules/programs/gamemode ./modules/programs/nonvm
./modules/programs/distributed-build/builder.nix ./modules/programs/distributed-build/builder.nix
#./modules/programs/music #./modules/programs/music
]; ];
@ -127,6 +127,7 @@ in {
scream = { scream = {
enable = false; # Started by the passthrough script enable = false; # Started by the passthrough script
description = "Audio receiver for the Scream virtual network sound card"; description = "Audio receiver for the Scream virtual network sound card";
wantedBy = [ "multi-user.target" ];
serviceConfig = { serviceConfig = {
Type = "simple"; Type = "simple";
ExecStart = "${pkgs.scream}/bin/scream -i virbr0 -o pulse"; ExecStart = "${pkgs.scream}/bin/scream -i virbr0 -o pulse";
@ -136,6 +137,7 @@ in {
gamemode = { gamemode = {
enable = true; enable = true;
description = "A daemon/lib combo for Linux that allows games to request a set of optimisations be temporarily applied to the host OS."; description = "A daemon/lib combo for Linux that allows games to request a set of optimisations be temporarily applied to the host OS.";
wantedBy = [ "multi-user.target" ];
serviceConfig = { serviceConfig = {
Type = "simple"; Type = "simple";
ExecStart = "${gamemode}/bin/gamemoded"; ExecStart = "${gamemode}/bin/gamemoded";