this repo has no description
2
fork

Configure Feed

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

feat: music stuff

+18 -10
+1
hosts/profiles/desktop/default.nix
··· 67 67 unstable.liferea 68 68 unstable.gh 69 69 unstable.flyctl 70 + unstable.sublime-music 70 71 71 72 kooha 72 73 light
+4 -6
hosts/profiles/jacket/default.nix
··· 2 2 { 3 3 services.jackett = { 4 4 enable = true; 5 - host = "0.0.0.0"; 6 5 port = 8011; 7 6 user = "jackett"; 8 7 group = "transmission"; 8 + package = pkgs.unstable.jackett; 9 9 }; 10 10 services.nginx.virtualHosts."jackett.mossnet.lan" = { 11 11 enableACME = false; ··· 19 19 }; 20 20 services.lidarr = { 21 21 enable = true; 22 - host = "0.0.0.0"; 23 - port = 8012; 24 - user = "lidarr"; 25 - group = "transmission"; 22 + user = "headphones"; 23 + group = "audio"; 26 24 }; 27 25 services.nginx.virtualHosts."lidarr.mossnet.lan" = { 28 26 enableACME = false; ··· 30 28 31 29 locations."/" = { 32 30 extraConfig = '' 33 - proxy_pass http://127.0.0.1:8012/; 31 + proxy_pass http://127.0.0.1:8686/; 34 32 ''; 35 33 }; 36 34 };
+2 -2
hosts/profiles/transmission/default.nix
··· 1 1 { pkgs, ... }: 2 2 { 3 + environment.systemPackages = [ pkgs.beets ]; 3 4 services.transmission = { 4 5 enable = true; 5 6 settings = { ··· 9 10 script-torrent-done-enabled = true; 10 11 # Normally, I would write this into the homedir with home-manager 11 12 # And explictly set the dir to be the output of the home-manager location 12 - # But this seems better, if it'll work? 13 13 script-torrent-done-filename = pkgs.writeShellScript "beet-import.sh" '' 14 14 #!/usr/bin/env bash 15 15 16 - beet import -ql "$TR_TORRENT_DIR" 16 + beet -p fetchart import -l /home/anish/music.log -q -g "$TR_TORRENT_DIR" 17 17 ''; 18 18 rpc-url = "/transmission/rpc/"; 19 19 download-dir = "/mnt/two/new-music";
+1 -1
modules/nixos/gonic.nix
··· 57 57 #... 58 58 }; 59 59 serviceConfig = { 60 - ExecStart = "${pkgs.gonic}/bin/gonic -config-path /etc/gonic/config"; 60 + ExecStart = "${pkgs.gonic}/bin/gonic -config-path /etc/gonic/config -scan-watcher-enabled -scan-interval 600"; 61 61 WorkingDirectory = dataFolder; 62 62 TimeoutStopSec = "20"; 63 63 KillMode = "process";
+10 -1
overlays/default.nix
··· 11 11 propagatedBuildInputs = prevAttrs.propagatedBuildInputs ++ [ final.python3.pkgs.jsonschema ]; # allow kobo sync stuff 12 12 }); 13 13 mautrix-signal = prev.mautrix-signal.overrideAttrs (prevAttrs: rec { 14 - buildInputs = prevAttrs.propagatedBuildInputs ++ [ final.python3.pkgs.aiosqlite ]; # We're using sqlite and upstream doesn't package this dependency 14 + buildInputs = prevAttrs.buildInputs ++ [ final.python3.pkgs.aiosqlite ]; # We're using sqlite and upstream doesn't package this dependency 15 + withGoolm = true; 16 + }); 17 + # headphones is not very stable... 18 + # this is fixed in newer commits, but no release has gone out 19 + # patching whitespace with sed is insane 20 + headphones = prev.headphones.overrideAttrs (prevAttrs: rec { 21 + patchPhase = '' 22 + sed -i '1395s/^\([[:space:]]*\).*/\1"cat": "3000",/' headphones/searcher.py 23 + ''; 15 24 }); 16 25 17 26 wallabag = prev.wallabag.overrideAttrs (attrs: {