Centralized steam configuration
This commit is contained in:
parent
daa50575b5
commit
c4225efceb
6 changed files with 46 additions and 58 deletions
|
|
@ -291,7 +291,7 @@
|
||||||
|
|
||||||
./modules/nixos/pro_audio.nix
|
./modules/nixos/pro_audio.nix
|
||||||
./modules/nixos/kdeconnect.nix
|
./modules/nixos/kdeconnect.nix
|
||||||
# ./modules/nixos/steam.nix
|
./modules/nixos/steam.nix
|
||||||
# ./modules/nixos/minio_local.nix
|
# ./modules/nixos/minio_local.nix
|
||||||
|
|
||||||
./modules/nixos/hyprland.nix
|
./modules/nixos/hyprland.nix
|
||||||
|
|
@ -322,7 +322,9 @@
|
||||||
inputs.nixos-hardware.nixosModules.common-pc-laptop-ssd
|
inputs.nixos-hardware.nixosModules.common-pc-laptop-ssd
|
||||||
./instances/odin/hardware-configuration.nix
|
./instances/odin/hardware-configuration.nix
|
||||||
./instances/odin/configuration.nix
|
./instances/odin/configuration.nix
|
||||||
|
|
||||||
./modules/nixos/server
|
./modules/nixos/server
|
||||||
|
./modules/nixos/steam.nix
|
||||||
] ++ homeManagerUModules ++ [{
|
] ++ homeManagerUModules ++ [{
|
||||||
home-manager.users.bertof = import ./instances/odin/hm.nix;
|
home-manager.users.bertof = import ./instances/odin/hm.nix;
|
||||||
}];
|
}];
|
||||||
|
|
|
||||||
|
|
@ -329,11 +329,6 @@
|
||||||
security.pam.services.sddm.enableGnomeKeyring = true;
|
security.pam.services.sddm.enableGnomeKeyring = true;
|
||||||
security.pam.services.autoUnlockKwallet.enableKwallet = true;
|
security.pam.services.autoUnlockKwallet.enableKwallet = true;
|
||||||
|
|
||||||
nixpkgs.config = {
|
|
||||||
allowUnfree = true;
|
|
||||||
packageOverrides = pkgs: { steam = pkgs.steam.override { extraPkgs = pkgs: [ pkgs.icu ]; }; };
|
|
||||||
};
|
|
||||||
|
|
||||||
zramSwap.enable = true;
|
zramSwap.enable = true;
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
|
|
|
||||||
|
|
@ -63,12 +63,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.steam = {
|
programs.steam.gamescopeSession.enable = true;
|
||||||
enable = true;
|
|
||||||
extest.enable = true;
|
|
||||||
gamescopeSession.enable = true;
|
|
||||||
remotePlay.openFirewall = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
avahi = {
|
avahi = {
|
||||||
|
|
|
||||||
|
|
@ -203,21 +203,7 @@
|
||||||
programs = {
|
programs = {
|
||||||
dconf.enable = true;
|
dconf.enable = true;
|
||||||
flashrom.enable = true;
|
flashrom.enable = true;
|
||||||
gnupg.agent = {
|
gnupg.agent = { enable = true; enableSSHSupport = true; };
|
||||||
enable = true;
|
|
||||||
enableSSHSupport = true;
|
|
||||||
};
|
|
||||||
steam = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.steam.override {
|
|
||||||
extraPkgs = pkgs: [ pkgs.icu ];
|
|
||||||
extraProfile = ''
|
|
||||||
export GSETTINGS_SCHEMA_DIR="${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}/glib-2.0/schemas/"
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
extest.enable = true;
|
|
||||||
remotePlay.openFirewall = true;
|
|
||||||
};
|
|
||||||
zsh.enable = true;
|
zsh.enable = true;
|
||||||
};
|
};
|
||||||
# services.joycond.enable = true;
|
# services.joycond.enable = true;
|
||||||
|
|
@ -257,6 +243,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
|
opengl.driSupport32Bit = true;
|
||||||
steam-hardware.enable = true;
|
steam-hardware.enable = true;
|
||||||
bluetooth = {
|
bluetooth = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -342,11 +329,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.config = {
|
|
||||||
allowUnfree = true;
|
|
||||||
packageOverrides = pkgs: { steam = pkgs.steam.override { extraPkgs = pkgs: [ pkgs.icu ]; }; };
|
|
||||||
};
|
|
||||||
|
|
||||||
zramSwap.enable = true;
|
zramSwap.enable = true;
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,7 @@
|
||||||
};
|
};
|
||||||
nvidia-container-toolkit.enable = true;
|
nvidia-container-toolkit.enable = true;
|
||||||
|
|
||||||
graphics.enable = true;
|
graphics = { enable = true; enable32Bit = true; };
|
||||||
bluetooth = {
|
bluetooth = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# package = pkgs.bluezFull;
|
# package = pkgs.bluezFull;
|
||||||
|
|
@ -292,12 +292,6 @@
|
||||||
# virtualbox.host.enable = true;
|
# virtualbox.host.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.config = {
|
|
||||||
allowUnfree = true;
|
|
||||||
packageOverrides = pkgs: { steam = pkgs.steam.override { extraPkgs = pkgs: [ pkgs.icu ]; }; };
|
|
||||||
# cudaSupport = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
zramSwap.enable = true;
|
zramSwap.enable = true;
|
||||||
|
|
||||||
system.stateVersion = "22.11"; # Did you read the comment?
|
system.stateVersion = "22.11"; # Did you read the comment?
|
||||||
|
|
|
||||||
|
|
@ -1,24 +1,44 @@
|
||||||
{
|
{ pkgs, ... }: {
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# package = pkgs.steam.override {
|
|
||||||
# # extraPkgs = pkgs: with pkgs; [ icu ];
|
package = pkgs.steam.override {
|
||||||
# # extraLibraries = pkgs: with pkgs; [ dconf.lib gnome.gvfs icu libdrm ];
|
# extraLibraries = pkgs: with pkgs; [
|
||||||
# # extraProfile = ''
|
# dconf.lib
|
||||||
# # export GSETTINGS_SCHEMA_DIR="${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}/glib-2.0/schemas/"
|
# gnome.gvfs
|
||||||
# # '';
|
# # icu
|
||||||
# };
|
# # libdrm
|
||||||
remotePlay.openFirewall = true; # incorrect values
|
# ];
|
||||||
|
# extraPkgs = pkgs: with pkgs; [
|
||||||
|
# # icu
|
||||||
|
# ];
|
||||||
|
# extraProfile = ''
|
||||||
|
# export GSETTINGS_SCHEMA_DIR="${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}/glib-2.0/schemas/"
|
||||||
|
# '';
|
||||||
|
};
|
||||||
|
extraPackages = [
|
||||||
|
pkgs.gamescope
|
||||||
|
];
|
||||||
|
extraCompatPackages = [
|
||||||
|
pkgs.proton-ge-bin
|
||||||
|
];
|
||||||
|
remotePlay.openFirewall = true;
|
||||||
extest.enable = true;
|
extest.enable = true;
|
||||||
};
|
};
|
||||||
networking.firewall = {
|
|
||||||
allowedTCPPorts = [
|
fonts.packages = [
|
||||||
27036
|
pkgs.liberation_ttf
|
||||||
27037
|
pkgs.wqy_zenhei
|
||||||
];
|
];
|
||||||
allowedUDPPorts = [
|
|
||||||
27031
|
# networking.firewall = {
|
||||||
27036
|
# allowedTCPPorts = [
|
||||||
];
|
# 27036
|
||||||
};
|
# 27037
|
||||||
|
# ];
|
||||||
|
# allowedUDPPorts = [
|
||||||
|
# 27031
|
||||||
|
# 27036
|
||||||
|
# ];
|
||||||
|
# };
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue