desktop: move gaming to its own module
This commit is contained in:
parent
8fad48e2d8
commit
aba2cf0794
3 changed files with 18 additions and 17 deletions
|
@ -1,6 +1,5 @@
|
|||
_: {
|
||||
imports = [
|
||||
../common
|
||||
./gaming
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
protonup-qt
|
||||
bottles
|
||||
lutris
|
||||
path-of-building
|
||||
# steamtinkerlaunch dependencies
|
||||
unzip
|
||||
xdotool
|
||||
xorg.xwininfo
|
||||
yad
|
||||
r2modman
|
||||
];
|
||||
programs.mangohud.enable = true;
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
username,
|
||||
...
|
||||
}: let
|
||||
cfg = config.modules.gaming;
|
||||
|
@ -18,7 +19,6 @@ in {
|
|||
enable = true;
|
||||
gamescopeSession.enable = true;
|
||||
};
|
||||
|
||||
gamemode.enable = true;
|
||||
coolercontrol = {
|
||||
enable = true;
|
||||
|
@ -31,5 +31,22 @@ in {
|
|||
via
|
||||
];
|
||||
services.udev.packages = [pkgs.via];
|
||||
|
||||
home-manager.users.${username} = {
|
||||
home.packages = with pkgs; [
|
||||
protonup-qt
|
||||
bottles
|
||||
lutris
|
||||
path-of-building
|
||||
r2modman
|
||||
|
||||
# steamtinkerlaunch dependencies
|
||||
unzip
|
||||
xdotool
|
||||
xorg.xwininfo
|
||||
yad
|
||||
];
|
||||
programs.mangohud.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue