modify ssh config + new pkgs

This commit is contained in:
xbazzi 2025-02-08 00:21:46 -07:00
parent 00aa4f1984
commit 83859e4027
2 changed files with 38 additions and 21 deletions

View File

@ -14,6 +14,7 @@
wget wget
#discord-canary #discord-canary
vesktop vesktop
discord
cudaPackages_12.cudatoolkit cudaPackages_12.cudatoolkit
python3 python3
gimp gimp
@ -32,6 +33,7 @@
#intellephense #intellephense
firefoxpwa firefoxpwa
ffmpeg ffmpeg
variety
]; ];
programs.nix-ld.enable = true; programs.nix-ld.enable = true;
@ -47,4 +49,19 @@
}; };
# Allow unfree packages # Allow unfree packages
nixpkgs.config.allowUnfree = true; 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"
# ];
} }

View File

@ -3,34 +3,34 @@
{ {
programs.ssh.extraConfig = '' programs.ssh.extraConfig = ''
Host prod1 Host prod1
HostName prod1 HostName prod1
ForwardAgent yes ForwardAgent yes
Port 22222 Port 22222
User xbazzi User xbazzi
PubkeyAuthentication yes PubkeyAuthentication yes
IdentityFile ~/.ssh/lan_id_ed25519 IdentityFile ~/.ssh/lan_id_ed25519
Host nas-mgmt Host nas-mgmt
HostName nas-mgmt HostName nas-mgmt
ForwardAgent yes ForwardAgent yes
User xbazzi User xbazzi
IdentityFile ~/.ssh/lan_id_ed25519 IdentityFile ~/.ssh/lan_id_ed25519
Host nas Host nas
HostName nas HostName nas
User xbazzi User xbazzi
IdentityFile ~/.ssh/lan_id_ed25519 IdentityFile ~/.ssh/lan_id_ed25519
Host school Host school
HostName school HostName school
ForwardAgent yes ForwardAgent yes
User xbazzi User xbazzi
IdentityFile ~/.ssh/lan_id_ed25519 IdentityFile ~/.ssh/lan_id_ed25519
Host ext1-mgmt Host ext1-mgmt
HostName ext1-mgmt HostName ext1-mgmt
ForwardAgent yes ForwardAgent yes
User xbazzi User xbazzi
IdentityFile ~/.ssh/lan_id_ed25519 IdentityFile ~/.ssh/lan_id_ed25519
''; '';
} }