From 689c11e4eb0b03e5bb79c38e5b3d82a8deabb11b Mon Sep 17 00:00:00 2001 From: harry123 Date: Sun, 9 Mar 2025 12:48:41 +0100 Subject: [PATCH] started removing orphaned code --- features/shared/nvim.nix | 0 hosts/sisyphe/features/prometheus.nix | 14 ++++++++------ hosts/sisyphe/features/services/default.nix | 4 +++- overlays/foot-overlay.nix | 13 ------------- overlays/ircd-hybrid.nix | 9 --------- 5 files changed, 11 insertions(+), 29 deletions(-) delete mode 100644 features/shared/nvim.nix delete mode 100644 overlays/foot-overlay.nix delete mode 100644 overlays/ircd-hybrid.nix diff --git a/features/shared/nvim.nix b/features/shared/nvim.nix deleted file mode 100644 index e69de29..0000000 diff --git a/hosts/sisyphe/features/prometheus.nix b/hosts/sisyphe/features/prometheus.nix index cb1bc96..0c32ac4 100644 --- a/hosts/sisyphe/features/prometheus.nix +++ b/hosts/sisyphe/features/prometheus.nix @@ -13,12 +13,14 @@ }; }; scrapeConfigs = [ - { - job_name = "synapse"; - scrape_interval = "15s"; - metrics_path = "/_synapse/metrics"; - static_configs = [ { targets = [ "localhost:9000" ]; } ]; - } + /* + { + job_name = "synapse"; + scrape_interval = "15s"; + metrics_path = "/_synapse/metrics"; + static_configs = [ { targets = [ "localhost:9000" ]; } ]; + } + */ { job_name = "homelab-stats"; static_configs = [ diff --git a/hosts/sisyphe/features/services/default.nix b/hosts/sisyphe/features/services/default.nix index 1adf285..24575b2 100644 --- a/hosts/sisyphe/features/services/default.nix +++ b/hosts/sisyphe/features/services/default.nix @@ -2,10 +2,12 @@ { imports = [ # ./akkoma.nix + ./archivebox.nix ./homelab-dashboard.nix ./nextcloud.nix # ./photoprism.nix - ./irc-server.nix + # TODO: configure irc server correctly + # ./irc-server.nix ./grafana.nix ./forgejo.nix # ./synapse-matrix.nix diff --git a/overlays/foot-overlay.nix b/overlays/foot-overlay.nix deleted file mode 100644 index 87c10b0..0000000 --- a/overlays/foot-overlay.nix +++ /dev/null @@ -1,13 +0,0 @@ -final: prev: { - foot-next = pkgs.foot.overrideAttrs (oldAttrs: rec { - inherit (oldAttrs) name; - version = "1.20.2"; - src = pkgs.fetchFromGitea { - domain = "codeberg.org"; - owner = "dnkl"; - repo = "foot"; - rev = version; - hash = "sha256-tnBoRRKHcuvBSnqvJ/772UWuepvpUiSg6t+gx4MZ0VQ="; - }; - }); -} diff --git a/overlays/ircd-hybrid.nix b/overlays/ircd-hybrid.nix deleted file mode 100644 index e29d883..0000000 --- a/overlays/ircd-hybrid.nix +++ /dev/null @@ -1,9 +0,0 @@ -{config, ...}: { - - nixpkgs.overlays = [ - (self: super: { - ircdHybrid - }) - ]; - -}