From 83859e402791c9b97a2926ba74f4861511d420e5 Mon Sep 17 00:00:00 2001 From: xbazzi Date: Sat, 8 Feb 2025 00:21:46 -0700 Subject: [PATCH] modify ssh config + new pkgs --- system/packages.nix | 17 +++++++++++++++++ system/ssh.nix | 42 +++++++++++++++++++++--------------------- 2 files changed, 38 insertions(+), 21 deletions(-) diff --git a/system/packages.nix b/system/packages.nix index 6026d5d..9fc3cf0 100755 --- a/system/packages.nix +++ b/system/packages.nix @@ -14,6 +14,7 @@ wget #discord-canary vesktop + discord cudaPackages_12.cudatoolkit python3 gimp @@ -32,6 +33,7 @@ #intellephense firefoxpwa ffmpeg + variety ]; programs.nix-ld.enable = true; @@ -47,4 +49,19 @@ }; # Allow unfree packages nixpkgs.config.allowUnfree = true; + + # Install Steam + 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 + }; + + # nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ + # "steam" + # "steam-original" + # "steam-unwrapped" + # "steam-run" + # ]; } diff --git a/system/ssh.nix b/system/ssh.nix index 8473275..e2f58ab 100644 --- a/system/ssh.nix +++ b/system/ssh.nix @@ -3,34 +3,34 @@ { programs.ssh.extraConfig = '' Host prod1 - HostName prod1 - ForwardAgent yes - Port 22222 - User xbazzi - PubkeyAuthentication yes - IdentityFile ~/.ssh/lan_id_ed25519 + HostName prod1 + ForwardAgent yes + Port 22222 + User xbazzi + PubkeyAuthentication yes + IdentityFile ~/.ssh/lan_id_ed25519 Host nas-mgmt - HostName nas-mgmt - ForwardAgent yes - User xbazzi - IdentityFile ~/.ssh/lan_id_ed25519 + HostName nas-mgmt + ForwardAgent yes + User xbazzi + IdentityFile ~/.ssh/lan_id_ed25519 Host nas - HostName nas - User xbazzi - IdentityFile ~/.ssh/lan_id_ed25519 + HostName nas + User xbazzi + IdentityFile ~/.ssh/lan_id_ed25519 Host school - HostName school - ForwardAgent yes - User xbazzi - IdentityFile ~/.ssh/lan_id_ed25519 + HostName school + ForwardAgent yes + User xbazzi + IdentityFile ~/.ssh/lan_id_ed25519 Host ext1-mgmt - HostName ext1-mgmt - ForwardAgent yes - User xbazzi - IdentityFile ~/.ssh/lan_id_ed25519 + HostName ext1-mgmt + ForwardAgent yes + User xbazzi + IdentityFile ~/.ssh/lan_id_ed25519 ''; } \ No newline at end of file