feat: add steam

Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
Lander Van den Bulcke 2024-12-16 02:18:44 +01:00
parent 78c43956c5
commit e8ed1c91b7
Signed by: lander
GPG key ID: 0142722B4B0C536F
2 changed files with 10 additions and 17 deletions

View file

@ -0,0 +1,8 @@
{...}: {
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
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
};
}

View file

@ -1,7 +1,4 @@
{pkgs, ...}: let
#vuescan = pkgs.callPackage ../common/optional/vuescan.nix {};
#epsonscan2 = pkgs.epsonscan2.override {withNonFreePlugins = true;};
in {
{pkgs, ...}: {
imports = [
./hardware-configuration.nix
@ -11,6 +8,7 @@ in {
../common/optional/fonts.nix
../common/optional/yubikey-gpg.nix
../common/optional/virt.nix
../common/optional/steam.nix
];
networking = {
@ -58,8 +56,6 @@ in {
awscli2
libreoffice
x32edit
#epsonscan2
#vuescan
];
nix.settings.experimental-features = ["nix-command" "flakes"];
@ -69,16 +65,5 @@ in {
services.printing.enable = true;
services.printing.drivers = [pkgs.brlaser];
#hardware.sane.enable = true;
#hardware.sane.extraBackends = [
# pkgs.epkowa
# pkgs.utsushi
# pkgs.epsonscan2
#];
#services.udev.packages = [
# pkgs.utsushi
# vuescan
#];
system.stateVersion = "24.05";
}