outsource gaming
This commit is contained in:
parent
47bf1dba5c
commit
c098a689df
4 changed files with 19 additions and 13 deletions
|
|
@ -33,6 +33,7 @@
|
||||||
|
|
||||||
myNixOS = {
|
myNixOS = {
|
||||||
bundles.general-desktop.enable = true;
|
bundles.general-desktop.enable = true;
|
||||||
|
bundles.gaming.enable = true;
|
||||||
|
|
||||||
services.syncthing.enable = true;
|
services.syncthing.enable = true;
|
||||||
|
|
||||||
|
|
@ -102,17 +103,6 @@
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.steam = {
|
|
||||||
enable = true;
|
|
||||||
gamescopeSession.enable = true;
|
|
||||||
};
|
|
||||||
programs.gamemode.enable = true;
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [protonup];
|
|
||||||
environment.sessionVariables = {
|
|
||||||
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "/home/prunebutt/.steam/root/compatibilitytools.d";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@
|
||||||
# home.homeDirectory = "/home/prunebutt";
|
# home.homeDirectory = "/home/prunebutt";
|
||||||
home = let
|
home = let
|
||||||
user = "prunebutt";
|
user = "prunebutt";
|
||||||
_inputs = inputs;
|
|
||||||
in {
|
in {
|
||||||
username = "${user}";
|
username = "${user}";
|
||||||
homeDirectory = "/home/${user}";
|
homeDirectory = "/home/${user}";
|
||||||
|
|
@ -37,6 +36,7 @@
|
||||||
|
|
||||||
inputs.nixvim-config.packages.${pkgs.system}.default
|
inputs.nixvim-config.packages.${pkgs.system}.default
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
myHomeManager = {
|
myHomeManager = {
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
signal-desktop
|
signal-desktop
|
||||||
keepassxc
|
keepassxc
|
||||||
|
|
||||||
logseq
|
# logseq
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
|
|
|
||||||
16
modules/nixOS/bundles/gaming.nix
Normal file
16
modules/nixOS/bundles/gaming.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
{config, pkgs, ...}:let
|
||||||
|
mainUser = config.myNixOS.sharedSettings.mainUser;
|
||||||
|
in {
|
||||||
|
programs.steam = {
|
||||||
|
enable = true;
|
||||||
|
gamescopeSession.enable = true;
|
||||||
|
# remotePlay.openFirewall = true;
|
||||||
|
# localNetworkGameTransfers.openFirewall = true;
|
||||||
|
};
|
||||||
|
programs.gamemode.enable = true;
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [protonup];
|
||||||
|
environment.sessionVariables = {
|
||||||
|
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "/home/${mainUser}/.steam/root/compatibilitytools.d";
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue