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.dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
# TODO: gamescope?
# TODO: gamemode?
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
@ -81,6 +82,15 @@
# nice to have
jstest-gtk
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 */
/* nix-template */
nix-output-monitor
nix-du
nix-tree
nix-visualize
(pkgs.nix-inspect or unstable.nix-inspect)
(pkgs.nix-btm or unstable.nix-btm)
unstable.nixpkgs-review

View File

@ -9,7 +9,8 @@
function vpn (
ip="$(dig +short -x a $1 | tail -n 1)"
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