feat: add steam
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
78c43956c5
commit
e8ed1c91b7
2 changed files with 10 additions and 17 deletions
8
hosts/common/optional/steam.nix
Normal file
8
hosts/common/optional/steam.nix
Normal 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
|
||||
};
|
||||
}
|
||||
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue