Add prismlauncher
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
{ user, home }:
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
programs.gamemode.enable = true;
|
||||||
|
}
|
11
hosts/common/configs/user/gui/gaming/gamescope/default.nix
Normal file
11
hosts/common/configs/user/gui/gaming/gamescope/default.nix
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{ user, home }:
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
programs.gamescope = {
|
||||||
|
enable = true;
|
||||||
|
args = [
|
||||||
|
"--rt"
|
||||||
|
"-f"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
@@ -0,0 +1,7 @@
|
|||||||
|
{ user, home }:
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
environment.persistence."/persist/state"."${home}/.local/share/PrismLauncher" = { };
|
||||||
|
|
||||||
|
home-manager.users.${user}.home.packages = with pkgs; [ prismlauncher ];
|
||||||
|
}
|
@@ -11,24 +11,12 @@
|
|||||||
"${home}/.local/share/Steam" = { };
|
"${home}/.local/share/Steam" = { };
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
programs.steam = {
|
||||||
steam = {
|
enable = true;
|
||||||
enable = true;
|
localNetworkGameTransfers.openFirewall = true;
|
||||||
localNetworkGameTransfers.openFirewall = true;
|
extest.enable = true;
|
||||||
extest.enable = true;
|
protontricks.enable = true;
|
||||||
protontricks.enable = true;
|
extraCompatPackages = with pkgs; [ proton-ge-bin ];
|
||||||
extraCompatPackages = with pkgs; [ proton-ge-bin ];
|
|
||||||
};
|
|
||||||
|
|
||||||
gamescope = {
|
|
||||||
enable = true;
|
|
||||||
args = [
|
|
||||||
"--rt"
|
|
||||||
"-f"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
gamemode.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.${user}.systemd.user = {
|
home-manager.users.${user}.systemd.user = {
|
||||||
|
@@ -62,7 +62,10 @@ in
|
|||||||
(import ../../../common/configs/user/gui/emoji { inherit user home; })
|
(import ../../../common/configs/user/gui/emoji { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/feh { inherit user home; })
|
(import ../../../common/configs/user/gui/feh { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/firefox { inherit user home; })
|
(import ../../../common/configs/user/gui/firefox { inherit user home; })
|
||||||
|
(import ../../../common/configs/user/gui/gaming/gamemode { inherit user home; })
|
||||||
|
(import ../../../common/configs/user/gui/gaming/gamescope { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/gaming/steam { inherit user home; })
|
(import ../../../common/configs/user/gui/gaming/steam { inherit user home; })
|
||||||
|
(import ../../../common/configs/user/gui/gaming/prismlauncher { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/gtk { inherit user home; })
|
(import ../../../common/configs/user/gui/gtk { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/hyprland { inherit user home; })
|
(import ../../../common/configs/user/gui/hyprland { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/hyprpicker { inherit user home; })
|
(import ../../../common/configs/user/gui/hyprpicker { inherit user home; })
|
||||||
|
Reference in New Issue
Block a user