miku: Add gamemode
This commit is contained in:
parent
a8fd0942a5
commit
9d6352eec8
4
miku.nix
4
miku.nix
@ -10,7 +10,7 @@ in {
|
||||
./modules/hardware/generic.nix ./modules/hardware/video.nix
|
||||
./modules/fonts.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/music
|
||||
];
|
||||
@ -127,6 +127,7 @@ in {
|
||||
scream = {
|
||||
enable = false; # Started by the passthrough script
|
||||
description = "Audio receiver for the Scream virtual network sound card";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
ExecStart = "${pkgs.scream}/bin/scream -i virbr0 -o pulse";
|
||||
@ -136,6 +137,7 @@ in {
|
||||
gamemode = {
|
||||
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.";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
ExecStart = "${gamemode}/bin/gamemoded";
|
||||
|
Loading…
Reference in New Issue
Block a user