diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-03-03 16:45:26 -0600 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-03-03 16:45:26 -0600 |
| commit | c29a14135736c2516bb5d951e6e97dc8143598db (patch) | |
| tree | 925628abfe934e3ea2cfd4a70357f8f9b5acb474 /modules/services | |
| parent | ce2cc260710f801c10302847796b931f7ed19709 (diff) | |
changes
Diffstat (limited to 'modules/services')
| -rw-r--r-- | modules/services/nixos/cgit/default.nix | 4 | ||||
| -rw-r--r-- | modules/services/nixos/goaccess.nix | 4 | ||||
| -rw-r--r-- | modules/services/nixos/qbittorrent.nix | 7 | ||||
| -rw-r--r-- | modules/services/options.nix | 2 |
4 files changed, 12 insertions, 5 deletions
diff --git a/modules/services/nixos/cgit/default.nix b/modules/services/nixos/cgit/default.nix index b35a631..3c225ee 100644 --- a/modules/services/nixos/cgit/default.nix +++ b/modules/services/nixos/cgit/default.nix @@ -60,8 +60,8 @@ in { root-desc=Git repos associated with Ganymede readme=:README.md - about-filter=${custom_cgit}/lib/cgit/filters/html-converters/md2html - source-filter=${custom_cgit}/lib/cgit/filters/syntax-highlighting.py + about-filter=${pkgs.cgit}/lib/cgit/filters/html-converters/md2html + source-filter=${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py footer= virtual-root=/ diff --git a/modules/services/nixos/goaccess.nix b/modules/services/nixos/goaccess.nix index f8940c9..bb174cb 100644 --- a/modules/services/nixos/goaccess.nix +++ b/modules/services/nixos/goaccess.nix @@ -7,8 +7,8 @@ cfg = config.collinux.services.goaccess; geoip = pkgs.fetchurl { - url = "https://github.com/P3TERX/GeoLite.mmdb/releases/download/2026.02.13/GeoLite2-City.mmdb"; - hash = "sha256-FnvfGHH8b0506muEvlDXjgNKruorWeMXEbquGdZoH6Q="; + url = "https://github.com/P3TERX/GeoLite.mmdb/releases/download/2026.03.01/GeoLite2-City.mmdb"; + hash = "sha256-SZ/m8b53sawF86Ak46uX7CxdzEMFrmob7Yd12Y+xJfA="; }; settings = { diff --git a/modules/services/nixos/qbittorrent.nix b/modules/services/nixos/qbittorrent.nix index d0249d0..13bf114 100644 --- a/modules/services/nixos/qbittorrent.nix +++ b/modules/services/nixos/qbittorrent.nix @@ -10,7 +10,10 @@ in { ]; config = lib.mkIf cfg.enable { - users.users."qbittorrent".extraGroups = ["fileserver"]; # torrent files go to /media/library + users.users."qbittorrent" = { + uid = 985; + extraGroups = ["fileserver"]; # torrent files go to /media/library + }; networking.firewall.allowedTCPPorts = [49252]; networking.firewall.allowedUDPPorts = [49252]; @@ -20,5 +23,7 @@ in { webuiPort = cfg.port; torrentingPort = 49252; }; + + systemd.services.qbittorrent.serviceConfig.PrivateUsers = lib.mkForce false; }; } diff --git a/modules/services/options.nix b/modules/services/options.nix index bd0a990..16c5bea 100644 --- a/modules/services/options.nix +++ b/modules/services/options.nix @@ -115,6 +115,7 @@ in { }) // { users = mkOption { + description = "List of users to configure on the copyparty server"; type = lib.types.attrsOf (lib.types.submodule ({config, ...}: { options = { name = mkOption { @@ -137,6 +138,7 @@ in { caddy = { enable = mkEnableOption "caddy https server"; envFile = mkOption { + description = "Absolute path to file that contains environment files to run caddy with"; type = types.str; example = "/run/secrets.d/caddy-env"; }; |
