configs/tailnet: enable taildrive

This commit is contained in:
Aaron Bieber 2024-10-20 18:19:29 -06:00
parent dc1bb564b4
commit 9e416bfd65
No known key found for this signature in database

View File

@ -9,24 +9,52 @@ let
tailnetACLs =
let
acls = {
nodeAttrs = [
{
target = [ "tag:laptop" "tag:mobile" ];
attr = [
"drive:access"
];
}
{
target = [ "tag:internal-server" ];
attr = [
"drive:share"
];
}
];
grants = [
{
src = [ "europa" "sputnik" "skunk" "graphy" ];
dst = [ "box" ];
app = {
"tailscale.com/cap/drive" = [{
shares = [ "*" ];
access = "rw";
}];
};
}
];
hosts = {
console = "100.83.166.33";
nbc = "100.74.8.55";
startpage = "127.0.0.1";
gitle = "100.111.162.87";
faf = "100.80.94.131";
h = "100.83.77.133";
box = "100.115.16.150";
pwntie = "100.84.170.57";
sputnik = "100.78.154.31";
europa = "100.64.26.122";
il = "100.86.182.99";
tv = "100.118.196.38";
ollama = "100.121.227.121";
console = "100.83.166.33";
display = "100.77.35.34";
rimgo = "100.121.77.91";
europa = "100.64.26.122";
faf = "100.80.94.131";
gitle = "100.111.162.87";
graphy = "100.123.184.55";
h = "100.83.77.133";
il = "100.86.182.99";
invidious = "100.71.57.99";
nbc = "100.74.8.55";
ollama = "100.121.227.121";
pwntie = "100.84.170.57";
rimgo = "100.121.77.91";
skunk = "100.79.26.78";
sputnik = "100.78.154.31";
startpage = "127.0.0.1";
tsns = "100.73.115.100";
tv = "100.118.196.38";
};
tagOwners = {