llkajsdlkajd
This commit is contained in:
parent
438445dcbb
commit
23ec80c457
|
@ -22,7 +22,7 @@
|
|||
../../profiles/mounts/freon-nfs.nix
|
||||
../../profiles/mounts/reidun-nfs.nix
|
||||
../../profiles/mounts/meconium-nfs.nix
|
||||
../../profiles/mounts/fridge-nfs.nix
|
||||
#../../profiles/mounts/fridge-nfs.nix
|
||||
|
||||
../../profiles/shell.nix
|
||||
|
||||
|
@ -42,7 +42,7 @@
|
|||
|
||||
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
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
#./yt-dlp-archive.nix
|
||||
|
||||
../../profiles/vpn-pbsds/headscale.nix # opens port 3478
|
||||
#../../profiles/vpn-pbsds/headscale.nix # opens port 3478
|
||||
|
||||
../../users/pbsds
|
||||
../../users/jornane
|
||||
|
@ -19,11 +19,11 @@
|
|||
../../profiles/mounts/freon-nfs.nix
|
||||
../../profiles/mounts/reidun-nfs.nix
|
||||
../../profiles/mounts/meconium-zfs.nix
|
||||
../../profiles/mounts/fridge-nfs.nix
|
||||
#../../profiles/mounts/fridge-nfs.nix # TODO: fix
|
||||
|
||||
../../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/index
|
||||
|
@ -101,7 +101,7 @@
|
|||
|
||||
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?
|
||||
nixpkgs.overlays = [
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
programs.bash.initExtra = ''
|
||||
# ssh autocomplete
|
||||
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 "\*")" 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 "\*")" 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 "\*")" 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-add
|
||||
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 '\*')" 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 '\*')" 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 '\*')" remote-init
|
||||
complete -W "$(cat ~/.ssh/config | grep "^Host " | cut -d" " -f2- | grep -v '\*')" remote-add
|
||||
fi
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in New Issue