Nix configurations for my homelab
0

Configure Feed

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

murmur: enable murmur server for mumble

+54 -10
+9 -9
flake.lock
··· 102 102 ] 103 103 }, 104 104 "locked": { 105 - "lastModified": 1753848447, 106 - "narHash": "sha256-fsld/crW9XRodFUG1GK8Lt0ERv6ARl9Wj3Xb0x96J4w=", 105 + "lastModified": 1753983724, 106 + "narHash": "sha256-2vlAOJv4lBrE+P1uOGhZ1symyjXTRdn/mz0tZ6faQcg=", 107 107 "owner": "nix-community", 108 108 "repo": "home-manager", 109 - "rev": "d732b648e5a7e3b89439ee25895e4eb24b7e5452", 109 + "rev": "7035020a507ed616e2b20c61491ae3eaa8e5462c", 110 110 "type": "github" 111 111 }, 112 112 "original": { ··· 211 211 }, 212 212 "nixpkgs": { 213 213 "locked": { 214 - "lastModified": 1753861192, 215 - "narHash": "sha256-n17/8ENnBvGojKWRkrS6RXZ/GYqnTVGXACsV7sG1rwo=", 214 + "lastModified": 1753948617, 215 + "narHash": "sha256-68ounbeMLJTO/Igq0rEqjldNReb/r2gR9zgLU2qiH7A=", 216 216 "owner": "NixOS", 217 217 "repo": "nixpkgs", 218 - "rev": "0b917819129ed70f9344dda23f56313130711412", 218 + "rev": "4f1a1d0af135001efc1a58c8f31ede7bb1045874", 219 219 "type": "github" 220 220 }, 221 221 "original": { ··· 281 281 "rust-overlay": "rust-overlay" 282 282 }, 283 283 "locked": { 284 - "lastModified": 1753857106, 285 - "narHash": "sha256-Ji8B2VKPGWW7NoRyRYIzOgV2DJicJR24ioe0u0AymHA=", 284 + "lastModified": 1753947194, 285 + "narHash": "sha256-bXZGkv6y5WDLzryKSQMW955tdhiTzEP9bcERUknQumg=", 286 286 "owner": "roc-lang", 287 287 "repo": "roc", 288 - "rev": "91caad181a2495a26572247780715d7c040d3514", 288 + "rev": "2bb7a0a87d3e4a4f835c36f5fed6cc6f48126e6f", 289 289 "type": "github" 290 290 }, 291 291 "original": {
+3
lily/config.nix
··· 20 20 21 21 ../modules/services/caddy 22 22 ../modules/services/caddy/atproto-did.nix 23 + ../modules/services/caddy/cp-certs.nix 24 + ../modules/services/caddy/mumble.nix 23 25 ../modules/services/caddy/nextcloud.nix 24 26 ../modules/services/caddy/pds.nix 25 27 ../modules/services/caddy/soju.nix ··· 31 33 ../modules/services/caddy/websites/pink-lilac.nix 32 34 ../modules/services/caddy/websites/pink-yemou.nix 33 35 36 + ../modules/services/murmur.nix 34 37 ../modules/services/nextcloud.nix 35 38 ../modules/services/openssh.nix 36 39 ../modules/services/pds.nix
+1 -1
modules/services/caddy/cp-certs.nix
··· 8 8 certs_dir="/var/ssl" 9 9 10 10 case $1 in 11 - "proxy.butwho.org" | "pubsub.butwho.org" | "upload.butwho.org" | "muc.butwho.org" | "butwho.org" ) 11 + "proxy.butwho.org" | "pubsub.butwho.org" | "upload.butwho.org" | "muc.butwho.org" | "mumble.butwho.org" | "butwho.org" ) 12 12 caddy_path="/var/lib/caddy/.local/share/caddy" 13 13 printf '%s\n' "$prog_name: Copying certs for '$1' to $certs_dir/$1" 14 14
+9
modules/services/caddy/mumble.nix
··· 1 + { ... }: 2 + { 3 + services.caddy.virtualHosts = { 4 + "mumble.butwho.org".extraConfig = '' 5 + encode 6 + redir https://butwho.org{uri} 7 + ''; 8 + }; 9 + }
+32
modules/services/murmur.nix
··· 1 + { ... }: 2 + { 3 + environment.persistence."/data/persistent".directories = [ 4 + { 5 + directory = "/var/lib/murmur"; 6 + mode = "0700"; 7 + user = "murmur"; 8 + group = "murmur"; 9 + } 10 + ]; 11 + 12 + networking.firewall = { 13 + allowedTCPPorts = [ 64738 ]; 14 + allowedUDPPorts = [ 64738 ]; 15 + }; 16 + 17 + services.murmur = { 18 + enable = true; 19 + welcometext = '' 20 + <br />Welcome to the <b>ButWho</b> Mumble server!<br /> 21 + ''; 22 + users = 15; 23 + sslKey = "/var/ssl/mumble.butwho.org/mumble.butwho.org.key"; 24 + sslCert = "/var/ssl/mumble.butwho.org/mumble.butwho.org.crt"; 25 + extraConfig = '' 26 + obfuscate=true 27 + ''; 28 + clientCertRequired = true; 29 + # This seems to be the current default for mumble according to the mumble-server.ini in their git repo 30 + bandwidth = 558000; 31 + }; 32 + }