parent
6d876dc327
commit
5e8821dd77
55
flake.lock
55
flake.lock
|
@ -5,11 +5,11 @@
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1646105662,
|
"lastModified": 1646845404,
|
||||||
"narHash": "sha256-jdXCZbGZL0SWWi29GnAOFHUh/QvvP0IyaVLv1ZTDkBI=",
|
"narHash": "sha256-JENXFCI2HVqi0whBzt7MAW9PX3ziEaYqBhMux+4g+VM=",
|
||||||
"owner": "ryantm",
|
"owner": "ryantm",
|
||||||
"repo": "agenix",
|
"repo": "agenix",
|
||||||
"rev": "297cd58b418249240b9f1f155d52b1b17f292884",
|
"rev": "764c975e74bce2f89a5106b68ec48e2b586f893c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -59,11 +59,11 @@
|
||||||
"nixpkgs": "nixpkgs_3"
|
"nixpkgs": "nixpkgs_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1645970334,
|
"lastModified": 1647210221,
|
||||||
"narHash": "sha256-6nn4YF9bPtkxkB7bM6yJO3m//p3sGilxNQFjm1epLEM=",
|
"narHash": "sha256-mUWwEq+ReRQjIqj28ClqmBDyKV4fr6C5ufqlXLzZFsk=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "ea85f4b1fdf3f25cf97dc49f4a9ec4eafda2ea25",
|
"rev": "8eb7c009f09f1f7b1ec151e5d537104acf42213a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -161,15 +161,18 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1618628710,
|
"lastModified": 1638587357,
|
||||||
"narHash": "sha256-9xIoU+BrCpjs5nfWcd/GlU7XCVdnNKJPffoNTxgGfhs=",
|
"narHash": "sha256-2ySMW3QARG8BsRPmwe7clTbdCuaObromOKewykP+UJc=",
|
||||||
"path": "/nix/store/z1rf17q0fxj935cmplzys4gg6nxj1as0-source",
|
"owner": "nixos",
|
||||||
"rev": "7919518f0235106d050c77837df5e338fb94de5d",
|
"repo": "nixpkgs",
|
||||||
"type": "path"
|
"rev": "e34c5379866833f41e2a36f309912fa675d687c7",
|
||||||
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"id": "nixpkgs",
|
"owner": "nixos",
|
||||||
"type": "indirect"
|
"ref": "nixos-21.11",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
|
@ -190,11 +193,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1645937171,
|
"lastModified": 1647350163,
|
||||||
"narHash": "sha256-n9f9GZBNMe8UMhcgmmaXNObkH01jjgp7INMrUgBgcy4=",
|
"narHash": "sha256-OcMI+PFEHTONthXuEQNddt16Ml7qGvanL3x8QOl2Aao=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "22dc22f8cedc58fcb11afe1acb08e9999e78be9c",
|
"rev": "3eb07eeafb52bcbf02ce800f032f18d666a9498d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -204,11 +207,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_4": {
|
"nixpkgs_4": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1645433236,
|
"lastModified": 1647297614,
|
||||||
"narHash": "sha256-4va4MvJ076XyPp5h8sm5eMQvCrJ6yZAbBmyw95dGyw4=",
|
"narHash": "sha256-ulGq3W5XsrBMU/u5k9d4oPy65pQTkunR4HKKtTq0RwY=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "7f9b6e2babf232412682c09e57ed666d8f84ac2d",
|
"rev": "73ad5f9e147c0d2a2061f1d4bd91e05078dc0b58",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -335,11 +338,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1645307663,
|
"lastModified": 1646790985,
|
||||||
"narHash": "sha256-96cDS0TaDJf4eklu1RJ+CBWei0yRnVUGXh6AOf+mBRE=",
|
"narHash": "sha256-Mt1hBO4CpTrpGD6Y0Vts2SdpiEZ3jygIdiijprhDeCg=",
|
||||||
"ref": "main",
|
"ref": "main",
|
||||||
"rev": "e8aa792abd6de941ff473a49bc39134d042050e8",
|
"rev": "4b0416555b41ea370e905d99d24d8f13331331c7",
|
||||||
"revCount": 6,
|
"revCount": 9,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://tulpa.dev/cadey/snoo2nebby.git"
|
"url": "https://tulpa.dev/cadey/snoo2nebby.git"
|
||||||
},
|
},
|
||||||
|
@ -405,11 +408,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1645888800,
|
"lastModified": 1646425650,
|
||||||
"narHash": "sha256-p7s9CPWypDPZ6t6FVTeSzeK006nhrkGcHx9kLUnohwk=",
|
"narHash": "sha256-Vn5PKtG6l+tjGmDfAsdyxdqv1QSLFt42Ousd3/FREGg=",
|
||||||
"owner": "Xe",
|
"owner": "Xe",
|
||||||
"repo": "waifud",
|
"repo": "waifud",
|
||||||
"rev": "db1aa3b5cd9df617e76bd89342f22a18a1fdf4d9",
|
"rev": "58690168f6ec65d704b1d64e8dad89b91d98d780",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
20
flake.nix
20
flake.nix
|
@ -124,17 +124,17 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
deploy.nodes.hugo = {
|
# deploy.nodes.hugo = {
|
||||||
hostname = "10.77.129.6";
|
# hostname = "10.77.129.6";
|
||||||
sshUser = "root";
|
# sshUser = "root";
|
||||||
fastConnection = true;
|
# fastConnection = true;
|
||||||
|
|
||||||
profiles.system = {
|
# profiles.system = {
|
||||||
user = "root";
|
# user = "root";
|
||||||
path = deploy-rs.lib.x86_64-linux.activate.nixos
|
# path = deploy-rs.lib.x86_64-linux.activate.nixos
|
||||||
self.nixosConfigurations.hugo;
|
# self.nixosConfigurations.hugo;
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
|
||||||
# This is highly advised, and will prevent many possible mistakes
|
# This is highly advised, and will prevent many possible mistakes
|
||||||
checks = builtins.mapAttrs
|
checks = builtins.mapAttrs
|
||||||
|
|
|
@ -4,6 +4,7 @@ let extraLegoFlags = [ "--dns.resolvers=8.8.8.8:53" ];
|
||||||
in {
|
in {
|
||||||
services.matrix-synapse = {
|
services.matrix-synapse = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
settings = {
|
||||||
server_name = "within.website";
|
server_name = "within.website";
|
||||||
|
|
||||||
enable_metrics = true;
|
enable_metrics = true;
|
||||||
|
@ -15,7 +16,7 @@ in {
|
||||||
|
|
||||||
listeners = [
|
listeners = [
|
||||||
{
|
{
|
||||||
bind_address = "127.0.0.1";
|
bind_addresses = [ "127.0.0.1" "::1" ];
|
||||||
port = 8448;
|
port = 8448;
|
||||||
type = "http";
|
type = "http";
|
||||||
tls = false;
|
tls = false;
|
||||||
|
@ -26,7 +27,7 @@ in {
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
bind_address = "100.77.196.9";
|
bind_addresses = [ "100.77.196.9" ];
|
||||||
port = 8448;
|
port = 8448;
|
||||||
type = "http";
|
type = "http";
|
||||||
tls = false;
|
tls = false;
|
||||||
|
@ -36,7 +37,7 @@ in {
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
bind_address = "100.77.196.9";
|
bind_addresses = [ "100.77.196.9" ];
|
||||||
port = 9000;
|
port = 9000;
|
||||||
type = "metrics";
|
type = "metrics";
|
||||||
tls = false;
|
tls = false;
|
||||||
|
@ -48,6 +49,7 @@ in {
|
||||||
registration_requires_token: true
|
registration_requires_token: true
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services.nginx.virtualHosts = {
|
services.nginx.virtualHosts = {
|
||||||
"matrix.within.website" = {
|
"matrix.within.website" = {
|
||||||
|
|
Loading…
Reference in New Issue