Port forwarding and aliases
This commit is contained in:
+8
-1
@@ -12,8 +12,15 @@
|
|||||||
nas = { user = "admin"; };
|
nas = { user = "admin"; };
|
||||||
owned = { user = "greg"; };
|
owned = { user = "greg"; };
|
||||||
in {
|
in {
|
||||||
|
inherit nas;
|
||||||
|
|
||||||
|
"*" = {
|
||||||
|
dynamicForwards = [ {
|
||||||
|
port = 10240;
|
||||||
|
} ];
|
||||||
|
};
|
||||||
|
|
||||||
"10.42.1.4" = lib.hm.dag.entryBefore ["10.42.*"] nas;
|
"10.42.1.4" = lib.hm.dag.entryBefore ["10.42.*"] nas;
|
||||||
nas = nas;
|
|
||||||
"nas.thehellings.lan" = nas;
|
"nas.thehellings.lan" = nas;
|
||||||
"nas.greg-hellings.gmail.com.beta.tailscale.net" = nas;
|
"nas.greg-hellings.gmail.com.beta.tailscale.net" = nas;
|
||||||
chronicles = nas;
|
chronicles = nas;
|
||||||
|
|||||||
@@ -31,17 +31,20 @@
|
|||||||
|
|
||||||
aliases = {
|
aliases = {
|
||||||
ac = "vox activate";
|
ac = "vox activate";
|
||||||
|
|
||||||
cblack = "compass workspace run src/python3/uc/tools:run_black --";
|
cblack = "compass workspace run src/python3/uc/tools:run_black --";
|
||||||
cbuild = "compass workspace build";
|
cbuild = "compass workspace build";
|
||||||
cci = "./scripts/circleci-checks.py";
|
cci = "./scripts/circleci-checks.py";
|
||||||
crun = "compass workspace run";
|
crun = "compass workspace run";
|
||||||
ctest = "compass workspace test";
|
ctest = "compass workspace test";
|
||||||
cylint = "./scripts/run_yaml_lint.py";
|
cylint = "./scripts/run_yaml_lint.py";
|
||||||
|
|
||||||
d = "vox deactivate";
|
d = "vox deactivate";
|
||||||
devroles = "cd ~/src/ansible_collections/devroles";
|
devroles = "cd ~/src/ansible_collections/devroles";
|
||||||
dirflake = "nix flake new -t github:nix-community/nix-direnv";
|
dirflake = "nix flake new -t github:nix-community/nix-direnv";
|
||||||
ll = "ls -l";
|
ll = "ls -l";
|
||||||
molcol = "molecule -c ../../tests/molecule.yml";
|
molcol = "molecule -c ../../tests/molecule.yml";
|
||||||
|
nixup = "nix flake lock --update-input";
|
||||||
pa = "cd ~/src/packaging";
|
pa = "cd ~/src/packaging";
|
||||||
tsup = "sudo tailscale up";
|
tsup = "sudo tailscale up";
|
||||||
tspub = "sudo tailscale up --exit-node=linode";
|
tspub = "sudo tailscale up --exit-node=linode";
|
||||||
|
|||||||
Reference in New Issue
Block a user