nix machine / user configurations

fix(wolumonde): fix headscale

ptr.pet 7622c005 6f96c797

verified
Changed files
+6 -5
hosts
wolumonde
modules
headscale.nix
+3 -2
deploy.nu
···
}
def upload-paste []: any -> string {
-
let paste_url = http post -H ["user-agent" "gaze.systems terra deploy"] --content-type multipart/form-data "https://0x0.st" {file: ($in | to text | into binary), secret: true}
-
return $paste_url
+
# let paste_url = http post -H ["user-agent" "gaze.systems terra deploy"] --content-type multipart/form-data "https://0x0.st" {file: ($in | to text | into binary), secret: true}
+
# return $paste_url
+
return ""
}
def time-block [block]: nothing -> record {
+2 -2
hosts/wolumonde/modules/blog.nix
···
locations."/".proxyPass = "http://localhost:${toString port}";
locations."/annoy/ws/" = {
proxyWebsockets = true;
-
proxyPass = "http://100.64.0.1:3111/";
+
proxyPass = "http://100.64.0.9:3111/";
extraConfig = ''
rewrite ^/annoy/ws/(.*) /$1 break;
'';
};
locations."/annoy/ws" = {
proxyWebsockets = true;
-
proxyPass = "http://100.64.0.1:3111/";
+
proxyPass = "http://100.64.0.9:3111/";
extraConfig = ''
rewrite ^/annoy/ws(.*) /$1 break;
'';
+1 -1
hosts/wolumonde/modules/headscale.nix/default.nix
···
other-infra = ["group:admin"];
};
hosts = {
-
chernobog = "100.64.0.1";
+
chernobog = "100.64.0.9";
wolumonde = "100.64.0.2";
higashi = "100.64.0.5";
};