feat(modules/games): adding steam modules
This commit is contained in:
parent
14f69827ef
commit
36c6e557cf
1 changed files with 22 additions and 7 deletions
|
|
@ -10,15 +10,23 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
programs.steam = {
|
programs = {
|
||||||
enable = true;
|
steam = {
|
||||||
gamescopeSession.enable = true;
|
enable = true;
|
||||||
extraCompatPackages = with pkgs; [
|
gamescopeSession.enable = true;
|
||||||
proton-ge-bin
|
extraCompatPackages = with pkgs; [
|
||||||
];
|
proton-ge-bin
|
||||||
|
];
|
||||||
|
};
|
||||||
|
gamemode.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.gamemode.enable = true;
|
environment.systemPackages = with pkgs; [
|
||||||
|
wine-staging
|
||||||
|
lutris
|
||||||
|
dxvk
|
||||||
|
vkd3d
|
||||||
|
];
|
||||||
|
|
||||||
systemd.user.services."steam-bp" = lib.mkIf cfg.bp {
|
systemd.user.services."steam-bp" = lib.mkIf cfg.bp {
|
||||||
description = "Steam Big Picture auto start";
|
description = "Steam Big Picture auto start";
|
||||||
|
|
@ -35,6 +43,13 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
pipewire = {
|
||||||
|
enable = true;
|
||||||
|
alsa.enable = true;
|
||||||
|
alsa.support32Bit = true;
|
||||||
|
pulse.enable = true;
|
||||||
|
jack.enable = true;
|
||||||
|
};
|
||||||
desktopManager.plasma6.enable = lib.mkIf cfg.bp true;
|
desktopManager.plasma6.enable = lib.mkIf cfg.bp true;
|
||||||
displayManager = lib.mkIf cfg.bp {
|
displayManager = lib.mkIf cfg.bp {
|
||||||
defaultSession = "plasmax11";
|
defaultSession = "plasmax11";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue