diff --git a/common/linux.nix b/common/linux.nix index 0f8baf3..7cad3ef 100644 --- a/common/linux.nix +++ b/common/linux.nix @@ -31,11 +31,20 @@ services.opensnitch.enable = true; - # Enable 32bit for steam hardware.pulseaudio.enable = true; + + # Enable Vulkan + hardware.opengl.driSupport = true; hardware.opengl.driSupport32Bit = true; + + # Enable Steam hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [libva]; hardware.pulseaudio.support32Bit = true; + programs.steam = { + enable = true; + remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play + dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server + }; virtualisation.docker.enable = true; virtualisation.podman.enable = true; diff --git a/flake.lock b/flake.lock index 778d18d..670084a 100644 --- a/flake.lock +++ b/flake.lock @@ -93,11 +93,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1666869603, - "narHash": "sha256-3V53or4Vpu4+LrGfGSh3T2V8+qf5RP6nRuex9GywkwE=", + "lastModified": 1666959691, + "narHash": "sha256-TRpWA3t8ata79HOGtFd5dDCl1kJQmIE16PDF53/Hcxo=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "2001e2b31c565bcdf7bc13062b8d7cfccaca05b8", + "rev": "448a599c49978c2794401bfc3a2e1fba1a8663be", "type": "github" }, "original": { diff --git a/machines/hephaestus/configuration.nix b/machines/hephaestus/configuration.nix index 52a99cc..46beb2d 100644 --- a/machines/hephaestus/configuration.nix +++ b/machines/hephaestus/configuration.nix @@ -28,9 +28,7 @@ services.sshd.enable = true; - services.tailscale = {enable = true;}; + services.tailscale.enable = true; - services.xserver = { - videoDrivers = ["amdgpu"]; - }; + services.xserver.videoDrivers = ["amdgpu"]; } diff --git a/packages/common.nix b/packages/common.nix index dc00fb5..93e9c4b 100644 --- a/packages/common.nix +++ b/packages/common.nix @@ -138,6 +138,9 @@ in { python310Packages.setuptools python310Packages.virtualenv + # games + steam-tui + # blog hugo diff --git a/packages/desktop.nix b/packages/desktop.nix index fb4ffa6..c60354a 100644 --- a/packages/desktop.nix +++ b/packages/desktop.nix @@ -32,7 +32,6 @@ in { signal-desktop slack spotify - steam usbutils virt-manager vlc