diff --git a/hosts/architect/ccache.nix b/hosts/architect/ccache.nix deleted file mode 100644 index 64f1454..0000000 --- a/hosts/architect/ccache.nix +++ /dev/null @@ -1,6 +0,0 @@ -{ - programs.ccache.enable = true; - nix.extraOptions = '' - extra-sandbox-paths = /nix/var/cache/ccache - ''; -} diff --git a/hosts/architect/default.nix b/hosts/architect/default.nix index 67550ad..53ead6d 100644 --- a/hosts/architect/default.nix +++ b/hosts/architect/default.nix @@ -29,7 +29,6 @@ in ./prowlarr.nix ./libreddit.nix ./invidious.nix - ./nitter.nix ./lidarr.nix # ./navidrome.nix ./jellyfin.nix @@ -41,7 +40,6 @@ in ./lezzo.nix ./runas.nix ./tailscale.nix - ./searx.nix ]; time.timeZone = "Europe/Rome"; diff --git a/hosts/architect/githubrunner.nix b/hosts/architect/githubrunner.nix deleted file mode 100644 index ab4c464..0000000 --- a/hosts/architect/githubrunner.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ ... }: - -{ - services.github-runner = { - enable = true; - url = "https://github.com/ropfuscator"; - tokenFile = "/secrets/github-runner/token"; - replace = true; - }; - - nix.extraOptions = '' - tarball-ttl = 0 - access-tokens = github.com=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 - ''; -} diff --git a/hosts/architect/nitter.nix b/hosts/architect/nitter.nix deleted file mode 100644 index 0c8c143..0000000 --- a/hosts/architect/nitter.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib, pkgs, ... }: - -let - domain = "tweet.giugl.io"; - network = import ./network.nix; -in -{ - services = { - nitter = { - enable = true; - redisCreateLocally = false; - server = { - port = 9093; - hostname = domain; - staticDir = "${pkgs.unstablePkgs.nitter}/share/nitter/public"; - }; - preferences = { - replaceYouTube = "tube.giugl.io"; - replaceTwitter = "tweet.giugl.io"; - }; - }; - - nginx.virtualHosts.${domain} = { - forceSSL = true; - enableACME = true; - locations."/" = { proxyPass = "http://127.0.0.1:9093"; }; - }; - }; - - networking.extraHosts = '' - ${network.architect-lan} ${domain} - ${network.architect-wg} ${domain} - ${network.architect-ts} ${domain} - ''; -} diff --git a/hosts/architect/overseerr.nix b/hosts/architect/overseerr.nix deleted file mode 100644 index 5c19a47..0000000 --- a/hosts/architect/overseerr.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ ... }: - -{ - virtualisation.oci-containers.containers."overseerr" = { - image = "sctx/overseerr:latest"; - volumes = [ "/var/lib/overseerr:/app/config" ]; - environment = { - "LOG_LEVEL" = "debug"; - "TZ" = "Europe/Rome"; - }; - #ports = [ "5055:5055" ]; - }; -} diff --git a/hosts/architect/searx.nix b/hosts/architect/searx.nix deleted file mode 100644 index 6f726f6..0000000 --- a/hosts/architect/searx.nix +++ /dev/null @@ -1,65 +0,0 @@ -{ mach-nix, lib, config, pkgs, ... }: - -let - domain = "gugol.giugl.io"; - network = import ./network.nix; -in -{ - services = { - redis.servers."searx" = { enable = true; port = 4456; }; - searx = { - enable = true; - package = pkgs.searxng; - # package = mach-nix.buildPythonPackage "https://github.com/searxng/searxng/commit/2cf1425e8bc5d3143b6e001e82a034a794e8a206https://github.com/searxng/searxng/commit/2cf1425e8bc5d3143b6e001e82a034a794e8a206"; - - environmentFile = /secrets/searx/env; - settings = { - server = { - secret_key = "@SEARX_SECRET_KEY@"; - port = 4455; - }; - - general = { - instance_name = "Pepe's Gugol"; - contact_url = "mailto:gugol@depasquale.giugl.io"; - enable_metrics = false; - }; - - search = { - safe_search = 0; - autocomplete = "duckduckgo"; - prefer_configured_language = false; - }; - - ui = { - infinite_scroll = true; - }; - - redis.url = "127.0.0.1:${toString config.services.redis.servers."searx".port}"; - - engines = [ - { name = "google"; disabled = false; } - { name = "bing"; disabled = false; } - { name = "qwant"; disabled = false; } - { name = "duckduckgo"; disabled = false; } - { name = "yahoo"; disabled = false; } - ]; - }; - }; - - nginx.virtualHosts.${domain} = { - forceSSL = true; - enableACME = true; - - locations."/" = { - proxyPass = "http://127.0.0.1:${toString config.services.searx.settings.server.port}"; - }; - }; - }; - - networking.extraHosts = '' - ${network.architect-lan} ${domain} - ${network.architect-wg} ${domain} - ${network.architect-ts} ${domain} - ''; -} diff --git a/hosts/architect/transmission.nix b/hosts/architect/transmission.nix deleted file mode 100644 index a6fe466..0000000 --- a/hosts/architect/transmission.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ lib, config, ... }: - -let - domain = "httra.giugl.io"; - network = import ./network.nix; -in -{ - services = { - transmission = { - enable = true; - group = "media"; - settings = { - download-dir = "/media/transmission"; - incomplete-dir = "/media/transmission/.incomplete"; - rpc-host-whitelist = "${domain}"; - encryption = 2; - speed-limit-up = 10; - speed-limit-up-enabled = true; - peer-port = 51413; - }; - performanceNetParameters = true; - }; - - nginx.virtualHosts.${domain} = { - forceSSL = true; - enableACME = true; - locations."/" = { - proxyPass = "http://127.0.0.1:9091"; - extraConfig = '' - allow 10.0.0.0/24; - ${lib.concatMapStrings (x: "allow ${x};") network.gdevices} - deny all; - ''; - }; - }; - }; - - networking.extraHosts = '' - ${network.architect-lan} ${domain} - ${network.architect-wg} ${domain} - ${network.architect-ts} ${domain} - ''; - - users.groups.media.members = [ "transmission" ]; -}