This commit is contained in:
Peder Bergebakken Sundt 2024-10-02 09:16:03 +02:00
parent 9a573ca719
commit b334d69bd9
3 changed files with 15 additions and 1 deletions

View File

@ -4,6 +4,7 @@
programs.steam.remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play programs.steam.remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
programs.steam.dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server programs.steam.dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
# TODO: gamescope?
# TODO: gamemode? # TODO: gamemode?
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
@ -81,6 +82,15 @@
# nice to have # nice to have
jstest-gtk jstest-gtk
antimicrox antimicrox
# since gnome doesn't let me select the provided [Desktop Action BigPicture]
# in the overview without right clicking /shrug
(makeDesktopItem {
desktopName = "Steam Big Picture";
name = "Steam";
exec = "steam steam://open/bigpicture";
icon = "steam";
})
]; ];
} }

View File

@ -83,6 +83,9 @@
/* cachix */ /* cachix */
/* nix-template */ /* nix-template */
nix-output-monitor nix-output-monitor
nix-du
nix-tree
nix-visualize
(pkgs.nix-inspect or unstable.nix-inspect) (pkgs.nix-inspect or unstable.nix-inspect)
(pkgs.nix-btm or unstable.nix-btm) (pkgs.nix-btm or unstable.nix-btm)
unstable.nixpkgs-review unstable.nixpkgs-review

View File

@ -9,7 +9,8 @@
function vpn ( function vpn (
ip="$(dig +short -x a $1 | tail -n 1)" ip="$(dig +short -x a $1 | tail -n 1)"
set -x set -x
sshuttle 0.0.0.0/0 --disable-ipv6 --dns -r "$1" -x $ip -x 127.0.0.1 -x 172.0.0.0/8 #sshuttle 0.0.0.0/0 --disable-ipv6 --dns -r "$1" -x $ip -x 127.0.0.1 -x 172.0.0.0/8
sshuttle 0.0.0.0/0 ::/0 --dns -r "$1" -x $ip -x 127.0.0.1 -x 172.0.0.0/8
) )
if test -f ~/.ssh/config; then if test -f ~/.ssh/config; then