File tree Expand file tree Collapse file tree 3 files changed +46
-0
lines changed
Expand file tree Collapse file tree 3 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 2828 # extraArgs = [ "--lowvram" ];
2929 # environment = { };
3030 } ;
31+ services . gonic = {
32+ enable = true ;
33+ settings = {
34+ music-path = [ "/var/lib/gonic/example_music" ] ;
35+ listen-addr = "0.0.0.0:4747" ;
36+ cache-path = "/var/cache/gonic" ;
37+ podcast-path = "/var/lib/gonic/podcasts" ;
38+ playlists-path = "/var/lib/gonic/playlists" ;
39+ proxy-prefix = "/gonic" ;
40+ } ;
41+ } ;
42+ systemd . services . gonic . serviceConfig = {
43+ SupplementaryGroups = [ "users" ] ;
44+ ProtectHome = lib . mkForce "read-only" ;
45+ ReadWritePaths = [
46+ "/var/cache/gonic"
47+ "/var/lib/gonic"
48+ ] ;
49+ ProtectSystem = "full" ;
50+ NoNewPrivileges = true ;
51+ } ;
52+ # THIS DIDNT WORK AT ALL AND LOCKED ME TF OUT
53+ # systemd.services.tailscaled-sidecar = {
54+ # description = "Temporary Tailscale sidecar for Apple Review";
55+ # after = [ "network.target" ];
56+ # wantedBy = [ "multi-user.target" ];
57+ # serviceConfig = {
58+ # # --tun=user runs in userspace (no conflict with your main tailscale0 interface)
59+ # # --socket and --statedir keep it isolated from your main config
60+ # ExecStart = "${pkgs.tailscale}/bin/tailscaled --statedir=/var/lib/tailscale/sidecar --socket=/run/tailscale/sidecar.socket --port=0 --tun=user";
61+ # Restart = "on-failure";
62+ # };
63+ # };
3164
3265 } ;
3366
Original file line number Diff line number Diff line change 124124 reverse_proxy 127.0.0.1:3000
125125 }
126126
127+ handle_path /gonic* {
128+ reverse_proxy 127.0.0.1:4747
129+ }
130+
127131 handle_path /sunshine* {
128132 reverse_proxy https://127.0.0.1:48012 {
129133 transport http {
187191 description = "Music Streamer" ;
188192 } ;
189193 }
194+ {
195+ "Gonic" = {
196+ icon = "gonic" ;
197+ href = "/gonic/" ;
198+ description = "Subsonic Music Server" ;
199+ } ;
200+ }
190201 {
191202 "SearX" = {
192203 icon = "searxng" ; # or "searx"
Original file line number Diff line number Diff line change 4040 gemini-cli
4141 crush
4242 pam-insults
43+ nix-eval-jobs
44+ nix-diff
4345 scrutiny
4446 scrutiny-collector
4547 ethtool
You can’t perform that action at this time.
0 commit comments