From 47b70cb938c1b1be1b543bc6718dd1479d9d503c Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Thu, 6 Nov 2025 22:12:31 -0500 Subject: [PATCH] add cozybot --- clients/quadraticserver/cozybot.nix | 10 ++++ flake.lock | 87 +++++++++++++++++++++++------ flake.nix | 4 ++ 3 files changed, 85 insertions(+), 16 deletions(-) create mode 100644 clients/quadraticserver/cozybot.nix diff --git a/clients/quadraticserver/cozybot.nix b/clients/quadraticserver/cozybot.nix new file mode 100644 index 0000000..d5958ed --- /dev/null +++ b/clients/quadraticserver/cozybot.nix @@ -0,0 +1,10 @@ +{ inputs, ... }: +{ + imports = [ inputs.cozybot.nixosModules.default ]; + + services = { + cozybot.enable = true; + caddy.virtualHosts."cozyp.federated.nexus".extraConfig = + "reverse_proxy unix//var/run/cozybot/socket"; + }; +} diff --git a/flake.lock b/flake.lock index 6f8a1e0..72ad656 100644 --- a/flake.lock +++ b/flake.lock @@ -326,6 +326,27 @@ "type": "github" } }, + "cozybot": { + "inputs": { + "flake-parts": "flake-parts", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1762484658, + "narHash": "sha256-7UP5kyOPvtcXg33tzn3sEGtP0hCJ+EGYcVoIdednBmg=", + "ref": "refs/heads/main", + "rev": "455e89bb84f3141e7b7a84c3d67e8d886c119947", + "revCount": 3, + "type": "git", + "url": "https://git.federated.nexus/Henry-Hiles/cozybot" + }, + "original": { + "type": "git", + "url": "https://git.federated.nexus/Henry-Hiles/cozybot" + } + }, "crane": { "locked": { "lastModified": 1751562746, @@ -649,11 +670,11 @@ "nixpkgs-lib": "nixpkgs-lib" }, "locked": { - "lastModified": 1762040540, - "narHash": "sha256-z5PlZ47j50VNF3R+IMS9LmzI5fYRGY/Z5O5tol1c9I4=", + "lastModified": 1762440070, + "narHash": "sha256-xxdepIcb39UJ94+YydGP221rjnpkDZUlykKuF54PsqI=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "0010412d62a25d959151790968765a70c436598b", + "rev": "26d05891e14c88eb4a5d5bee659c0db5afb609d8", "type": "github" }, "original": { @@ -667,11 +688,11 @@ "nixpkgs-lib": "nixpkgs-lib_2" }, "locked": { - "lastModified": 1749398372, - "narHash": "sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98=", + "lastModified": 1762040540, + "narHash": "sha256-z5PlZ47j50VNF3R+IMS9LmzI5fYRGY/Z5O5tol1c9I4=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569", + "rev": "0010412d62a25d959151790968765a70c436598b", "type": "github" }, "original": { @@ -717,6 +738,24 @@ } }, "flake-parts_5": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_5" + }, + "locked": { + "lastModified": 1749398372, + "narHash": "sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_6": { "inputs": { "nixpkgs-lib": [ "sdm845", @@ -737,7 +776,7 @@ "type": "github" } }, - "flake-parts_6": { + "flake-parts_7": { "inputs": { "nixpkgs-lib": [ "stylix", @@ -1220,7 +1259,7 @@ }, "lasuite-docs-proxy": { "inputs": { - "flake-parts": "flake-parts_2", + "flake-parts": "flake-parts_3", "nixpkgs": [ "nixpkgs" ] @@ -1290,7 +1329,7 @@ }, "matrixoidc": { "inputs": { - "flake-parts": "flake-parts_3", + "flake-parts": "flake-parts_4", "nixpkgs": [ "nixpkgs" ] @@ -1485,7 +1524,7 @@ }, "nexusbot": { "inputs": { - "flake-parts": "flake-parts_4", + "flake-parts": "flake-parts_5", "nixpkgs": [ "nixpkgs" ] @@ -2032,11 +2071,11 @@ }, "nixpkgs-lib_2": { "locked": { - "lastModified": 1748740939, - "narHash": "sha256-rQaysilft1aVMwF14xIdGS3sj1yHlI6oKQNBRTF40cc=", + "lastModified": 1761765539, + "narHash": "sha256-b0yj6kfvO8ApcSE+QmA6mUfu8IYG6/uU28OFn4PaC8M=", "owner": "nix-community", "repo": "nixpkgs.lib", - "rev": "656a64127e9d791a334452c6b6606d17539476e2", + "rev": "719359f4562934ae99f5443f20aa06c2ffff91fc", "type": "github" }, "original": { @@ -2075,6 +2114,21 @@ "type": "github" } }, + "nixpkgs-lib_5": { + "locked": { + "lastModified": 1748740939, + "narHash": "sha256-rQaysilft1aVMwF14xIdGS3sj1yHlI6oKQNBRTF40cc=", + "owner": "nix-community", + "repo": "nixpkgs.lib", + "rev": "656a64127e9d791a334452c6b6606d17539476e2", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixpkgs.lib", + "type": "github" + } + }, "nixpkgs-riscv": { "locked": { "lastModified": 1752147015, @@ -2346,9 +2400,10 @@ "inputs": { "agenix": "agenix", "agenix-cli": "agenix-cli", + "cozybot": "cozybot", "disko": "disko", "firefox-gnome-theme": "firefox-gnome-theme", - "flake-parts": "flake-parts", + "flake-parts": "flake-parts_2", "gnome-mobile": "gnome-mobile", "home-manager": "home-manager_2", "lasuite-docs-proxy": "lasuite-docs-proxy", @@ -2462,7 +2517,7 @@ "emacs-overlay": "emacs-overlay", "fenix": "fenix", "flake-compat": "flake-compat_3", - "flake-parts": "flake-parts_5", + "flake-parts": "flake-parts_6", "flake-schemas": "flake-schemas", "flake-utils": "flake-utils_3", "flake-utils-plus": "flake-utils-plus", @@ -2557,7 +2612,7 @@ "base16-helix": "base16-helix", "base16-vim": "base16-vim", "firefox-gnome-theme": "firefox-gnome-theme_2", - "flake-parts": "flake-parts_6", + "flake-parts": "flake-parts_7", "gnome-shell": "gnome-shell", "nixpkgs": [ "nixpkgs" diff --git a/flake.nix b/flake.nix index d577acd..a83181b 100755 --- a/flake.nix +++ b/flake.nix @@ -25,6 +25,10 @@ url = "git+https://git.federated.nexus/Henry-Hiles/lasuite_docs_proxy"; inputs.nixpkgs.follows = "nixpkgs"; }; + cozybot = { + url = "git+https://git.federated.nexus/Henry-Hiles/cozybot"; + inputs.nixpkgs.follows = "nixpkgs"; + }; nexusbot = { url = "git+https://git.federated.nexus/federated-nexus/nexusbot"; inputs.nixpkgs.follows = "nixpkgs";