llkajsdlkajd

This commit is contained in:
Peder Bergebakken Sundt 2024-05-31 00:39:40 +02:00
parent 438445dcbb
commit 23ec80c457
3 changed files with 14 additions and 14 deletions

View File

@ -22,7 +22,7 @@
../../profiles/mounts/freon-nfs.nix ../../profiles/mounts/freon-nfs.nix
../../profiles/mounts/reidun-nfs.nix ../../profiles/mounts/reidun-nfs.nix
../../profiles/mounts/meconium-nfs.nix ../../profiles/mounts/meconium-nfs.nix
../../profiles/mounts/fridge-nfs.nix #../../profiles/mounts/fridge-nfs.nix
../../profiles/shell.nix ../../profiles/shell.nix
@ -42,7 +42,7 @@
networking.firewall.allowedTCPPorts = [ 57621 ]; # spotify local discovery networking.firewall.allowedTCPPorts = [ 57621 ]; # spotify local discovery
networking.wireguard.interfaces."wg0".ips = [ "172.22.48.4/24" ]; # fyrkat #networking.wireguard.interfaces."wg0".ips = [ "172.22.48.4/24" ]; # fyrkat
# Networking # Networking

View File

@ -11,7 +11,7 @@
#./yt-dlp-archive.nix #./yt-dlp-archive.nix
../../profiles/vpn-pbsds/headscale.nix # opens port 3478 #../../profiles/vpn-pbsds/headscale.nix # opens port 3478
../../users/pbsds ../../users/pbsds
../../users/jornane ../../users/jornane
@ -19,11 +19,11 @@
../../profiles/mounts/freon-nfs.nix ../../profiles/mounts/freon-nfs.nix
../../profiles/mounts/reidun-nfs.nix ../../profiles/mounts/reidun-nfs.nix
../../profiles/mounts/meconium-zfs.nix ../../profiles/mounts/meconium-zfs.nix
../../profiles/mounts/fridge-nfs.nix #../../profiles/mounts/fridge-nfs.nix # TODO: fix
../../profiles/shell.nix ../../profiles/shell.nix
../../profiles/services/tmate-server.nix # opens port 42244 #../../profiles/services/tmate-server.nix # opens port 42244
../../profiles/http # enables nginx+acme, defines mkDomain ../../profiles/http # enables nginx+acme, defines mkDomain
../../profiles/http/index ../../profiles/http/index
@ -101,7 +101,7 @@
networking.hostId = "e1ffd469"; # needed for zfs: head -c 8 /etc/machine-id networking.hostId = "e1ffd469"; # needed for zfs: head -c 8 /etc/machine-id
networking.wireguard.interfaces."wg0".ips = [ "172.22.48.3/24" ]; # fyrkat #networking.wireguard.interfaces."wg0".ips = [ "172.22.48.3/24" ]; # fyrkat
# TODO: remove? Move to where relevant? # TODO: remove? Move to where relevant?
nixpkgs.overlays = [ nixpkgs.overlays = [

View File

@ -3,14 +3,14 @@
programs.bash.initExtra = '' programs.bash.initExtra = ''
# ssh autocomplete # ssh autocomplete
if test -f ~/.ssh/config; then if test -f ~/.ssh/config; then
complete -W "$(cat ~/.ssh/config | grep "^Host " | cut -d" " -f2- | grep -v "\*")" ssh complete -W "$(cat ~/.ssh/config | grep "^Host " | cut -d" " -f2- | grep -v '\*')" ssh
complete -W "$(cat ~/.ssh/config | grep "^Host " | cut -d" " -f2- | grep -v "\*")" rssh complete -W "$(cat ~/.ssh/config | grep "^Host " | cut -d" " -f2- | grep -v '\*')" rssh
complete -W "$(cat ~/.ssh/config | grep "^Host " | cut -d" " -f2- | grep -v "\*")" vpn complete -W "$(cat ~/.ssh/config | grep "^Host " | cut -d" " -f2- | grep -v '\*')" vpn
complete -W "$(cat ~/.ssh/config | grep "^Host " | cut -d" " -f2- | grep -v "\*")" lvpn complete -W "$(cat ~/.ssh/config | grep "^Host " | cut -d" " -f2- | grep -v '\*')" lvpn
complete -W "$(cat ~/.ssh/config | grep "^Host " | cut -d" " -f2- | grep -v "\*")" dvpn complete -W "$(cat ~/.ssh/config | grep "^Host " | cut -d" " -f2- | grep -v '\*')" dvpn
complete -W "$(cat ~/.ssh/config | grep "^Host " | cut -d" " -f2- | grep -v "\*")" scp complete -W "$(cat ~/.ssh/config | grep "^Host " | cut -d" " -f2- | grep -v '\*')" scp
complete -W "$(cat ~/.ssh/config | grep "^Host " | cut -d" " -f2- | grep -v "\*")" remote-init complete -W "$(cat ~/.ssh/config | grep "^Host " | cut -d" " -f2- | grep -v '\*')" remote-init
complete -W "$(cat ~/.ssh/config | grep "^Host " | cut -d" " -f2- | grep -v "\*")" remote-add complete -W "$(cat ~/.ssh/config | grep "^Host " | cut -d" " -f2- | grep -v '\*')" remote-add
fi fi
''; '';