Hybrid cloud cluster monorepo with Ansible, K8s, NixOS, and Terraform. cute.haus
ansible terraform nix k8s
1

Configure Feed

Select the types of activity you want to include in your feed.

nix/qbittorrent: strip unmodified defaults

Aly Raffauf (Jun 10, 2026, 10:55 PM EDT) 2a6f98fa ed5db4ea

+3 -49
-2
nix/hosts/jubilife.nix
··· 135 135 136 136 myPlex.dataDir = "/mnt/Data"; 137 137 138 - myQbittorrent.port = 8080; 139 - 140 138 mySyncthing = { 141 139 certFile = config.sops.secrets.syncthingCert.path; 142 140 keyFile = config.sops.secrets.syncthingKey.path;
+3 -47
nix/nixos/services/qbittorrent.nix
··· 1 1 { 2 - flake.modules.nixos.qbittorrent = { 3 - config, 4 - lib, 5 - pkgs, 6 - ... 7 - }: let 8 - cfg = config.myQbittorrent; 9 - in { 10 - options.myQbittorrent = { 11 - dataDir = lib.mkOption { 12 - type = lib.types.path; 13 - default = "/var/lib/qbittorrent"; 14 - }; 15 - 16 - user = lib.mkOption { 17 - type = lib.types.str; 18 - default = "qbittorrent"; 19 - }; 20 - 21 - group = lib.mkOption { 22 - type = lib.types.str; 23 - default = "qbittorrent"; 24 - }; 25 - 26 - port = lib.mkOption { 27 - type = lib.types.port; 28 - default = 8080; 29 - }; 30 - 31 - openFirewall = lib.mkOption { 32 - type = lib.types.bool; 33 - default = false; 34 - }; 35 - 36 - package = lib.mkOption { 37 - type = lib.types.package; 38 - default = pkgs.qbittorrent-nox; 39 - defaultText = lib.literalExpression "pkgs.qbittorrent-nox"; 40 - }; 41 - }; 42 - 43 - config.services.qbittorrent = { 44 - inherit (cfg) openFirewall user group package; 45 - enable = true; 46 - profileDir = cfg.dataDir; 47 - webuiPort = cfg.port; 48 - }; 2 + flake.modules.nixos.qbittorrent.services.qbittorrent = { 3 + enable = true; 4 + profileDir = "/var/lib/qbittorrent"; 49 5 }; 50 6 51 7 flake.modules.nixos.backups = {