stuff
This commit is contained in:
@@ -16,6 +16,7 @@ in
|
||||
"git".A = singleton dnsData.tripPublicV4;
|
||||
"auth".A = singleton dnsData.tripPublicV4;
|
||||
"wisdom".A = singleton dnsData.tripPublicV4;
|
||||
"chat".A = singleton dnsData.tripPublicV4;
|
||||
"_acme-challenge".CNAME = singleton "199b8aa4-bc9f-4f43-88bf-3f613f62b663.auwwth.dis8.net.";
|
||||
};
|
||||
};
|
||||
|
@@ -451,6 +451,7 @@
|
||||
vnopnCA = pkgs-stable.writeText "vnopnCA.cert" plain.config.vacu.vnopnCA;
|
||||
wrappedSops = plain.config.vacu.wrappedSops;
|
||||
z3 = pkgs-unstable.callPackage ./packages/z3 { };
|
||||
# zulip-server = pkgs.python312Packages.callPackage ./packages/zulip.nix { };
|
||||
};
|
||||
}
|
||||
));
|
||||
|
@@ -90,7 +90,7 @@
|
||||
kdePackages.dragon
|
||||
kanidm
|
||||
])
|
||||
++ [ inputs.self.packages.${pkgs.system}.sm64coopdx ];
|
||||
++ [ ];
|
||||
|
||||
networking.firewall.enable = false;
|
||||
|
||||
|
@@ -53,7 +53,7 @@
|
||||
lutris
|
||||
radicle-node
|
||||
])
|
||||
++ [ inputs.self.packages.${pkgs.system}.sm64coopdx ];
|
||||
++ [ ];
|
||||
|
||||
services.openssh.enable = true;
|
||||
|
||||
|
19
packages/zulip.nix
Normal file
19
packages/zulip.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
fetchFromGitHub,
|
||||
buildPythonPackage,
|
||||
|
||||
pyyaml,
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "zulip-server";
|
||||
version = "9.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zulip";
|
||||
repo = "zulip";
|
||||
rev = version;
|
||||
hash = "sha256-Ah/aPgy4RmW3796w6k62zpKsGKB3VKkhoom7l77ibCQ=";
|
||||
};
|
||||
|
||||
dependencies = [ pyyaml ];
|
||||
}
|
@@ -6,10 +6,6 @@
|
||||
let
|
||||
name = "jl-stats";
|
||||
contain = config.containers.${name};
|
||||
pg = config.services.postgresql.package;
|
||||
most-winningest = inputs.most-winningest.packages."${config.nixpkgs.system}".default.override {
|
||||
postgresql = pg;
|
||||
};
|
||||
in
|
||||
{
|
||||
vacu.databases.${name}.fromContainer = name;
|
||||
@@ -37,7 +33,13 @@ in
|
||||
};
|
||||
|
||||
config =
|
||||
{ pkgs, ... }:
|
||||
{ pkgs, config, ... }:
|
||||
let
|
||||
pg = config.services.postgresql.package;
|
||||
most-winningest = inputs.most-winningest.packages."${config.nixpkgs.system}".default.override {
|
||||
postgresql = pg;
|
||||
};
|
||||
in
|
||||
{
|
||||
system.stateVersion = "23.11";
|
||||
|
||||
|
53
triple-dezert/proxied/services/mira-chat.nix
Normal file
53
triple-dezert/proxied/services/mira-chat.nix
Normal file
@@ -0,0 +1,53 @@
|
||||
{ config, lib, ... }:
|
||||
let
|
||||
container = config.containers.mira-chat;
|
||||
domain = "chat.for.miras.pet";
|
||||
port = 3000;
|
||||
in
|
||||
{
|
||||
vacu.databases.mira-chat = {
|
||||
# user = "mira-chat";
|
||||
fromContainer = "mira-chat";
|
||||
};
|
||||
|
||||
vacu.proxiedServices.mira-chat = {
|
||||
inherit domain port;
|
||||
fromContainer = "mira-chat";
|
||||
forwardFor = true;
|
||||
maxConnections = 100;
|
||||
};
|
||||
|
||||
containers.mira-chat = {
|
||||
privateNetwork = true;
|
||||
hostAddress = "192.168.100.44";
|
||||
localAddress = "192.168.100.45";
|
||||
|
||||
autoStart = true;
|
||||
ephemeral = false;
|
||||
restartIfChanged = true;
|
||||
|
||||
# bindMounts."/mira-chat" = {
|
||||
# hostPath = "/trip/mira-chat";
|
||||
# isReadOnly = false;
|
||||
# };
|
||||
|
||||
config =
|
||||
let
|
||||
outer_config = config;
|
||||
in
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
system.stateVersion = "latest";
|
||||
|
||||
networking.firewall.enable = false;
|
||||
networking.useHostResolvConf = lib.mkForce false;
|
||||
services.resolved.enable = true;
|
||||
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user