From 0ce51a0048d37ddcdeb8497bfcfc71b1dfb25655 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Thu, 3 Aug 2023 16:31:52 +0200 Subject: assorted nice-ish things --- flake.lock | 4 ++-- flora/services/akkoma.nix | 1 + flora/services/dockerhub.nix | 23 ----------------------- home/home.nix | 2 +- home/packages.nix | 2 +- 5 files changed, 5 insertions(+), 27 deletions(-) delete mode 100644 flora/services/dockerhub.nix diff --git a/flake.lock b/flake.lock index 2e99d6d..a1e5978 100644 --- a/flake.lock +++ b/flake.lock @@ -89,8 +89,8 @@ "feeds": { "flake": false, "locked": { - "lastModified": 1681843152, - "narHash": "sha256-k3O5VmDX0dxHNJupqL3HfgVjbN2agJClR25m3p0wNfo=", + "lastModified": 1691005375, + "narHash": "sha256-t/2lssXYZ2wecGp+N5T54IEKIUJLxsv5gf4AGZ0FudM=", "path": "/home/stuebinm/org/nonpublic.nix", "type": "path" }, diff --git a/flora/services/akkoma.nix b/flora/services/akkoma.nix index 7baf9b7..ec655a2 100644 --- a/flora/services/akkoma.nix +++ b/flora/services/akkoma.nix @@ -95,6 +95,7 @@ in (mkTuple ["mstdn.social" "scraping for language model"]) (mkTuple ["uden.ai" "lol"]) (mkTuple ["poa.st" "not a nice place"]) + (mkTuple ["threads.net" "it facebook"]) ]; }; ":mrf".policies = map mkAtom [ diff --git a/flora/services/dockerhub.nix b/flora/services/dockerhub.nix deleted file mode 100644 index c9b84b3..0000000 --- a/flora/services/dockerhub.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ config, lib, pkgs, ... }: - -{ - services.dockerRegistry = { - enable = true; - port = 6000; - enableRedisCache = false; - extraConfig = { - storage.maintenance.readonly.enabled = true; - }; - }; - - services.nginx.virtualHosts."registry.stuebinm.eu" = { - locations."/" = { - proxyPass = "http://localhost:6000"; - proxyWebsockets = true; - }; - enableACME = true; - forceSSL = true; - }; - - services.nginx.clientMaxBodySize = "0"; -} diff --git a/home/home.nix b/home/home.nix index 49b5713..4dc0fd4 100644 --- a/home/home.nix +++ b/home/home.nix @@ -277,7 +277,7 @@ "mate" = { hostname = "192.168.69.174"; user = "root"; - identityFile = keydir + "/hetzner"; + identityFile = keydir + "/hetzner.pub"; }; "c3voc" = { hostname = "git.c3voc.de"; diff --git a/home/packages.nix b/home/packages.nix index 49d7a02..10cb78e 100644 --- a/home/packages.nix +++ b/home/packages.nix @@ -54,7 +54,7 @@ in gcc cachix julia_16-bin python39 # nix things nixfmt niv inputs.deploy-rs.defaultPackage.${system} - haskellPackages.nix-serve-ng nix-doc + haskellPackages.nix-serve-ng nix-doc nix-output-monitor # other things mercurial # isabelle -- cgit v1.2.3