2 Commits
Author SHA1 Message Date
Noah Masur 0d96b8fbed switch to native jj starship config 2026-11-08 15:06:38 -05:00
Noah Masur 314298134d feat(nixos): add shelfmark to arr services preset 2026-11-07 08:44:21 -05:00
2 changed files with 25 additions and 14 deletions

No files matched your search

@@ -15,8 +15,6 @@ in
config = lib.mkIf cfg.enable {
home.packages = [ pkgs.jj-starship ];
programs.starship = {
enable = true;
enableFishIntegration = true;
@@ -29,7 +27,9 @@ in
"$git_branch"
"$git_commit"
"$git_status"
"\${custom.jj}"
"$jj_bookmark"
"$jj_status"
"$jj_change"
"$hostname"
"$cmd_duration"
"$character"
@@ -51,17 +51,6 @@ in
show_notifications = false;
format = "[$duration]($style) ";
};
custom = {
jj = {
when = "jj-starship detect";
shell = [
"jj-starship"
"--no-jj-prefix"
"--no-git-prefix"
];
format = "$output ";
};
};
directory = {
truncate_to_repo = true;
truncation_length = 100;
@@ -106,6 +106,12 @@ in
lidarr = {
enable = true;
};
shelfmark = {
enable = true;
environment = {
URL_BASE = "/shelfmark";
};
};
};
# Allows shared group to read/write the sabnzbd directory
@@ -161,6 +167,22 @@ in
}
];
}
{
match = [
{
host = [ hostnames.download ];
path = [ "/shelfmark*" ];
}
];
handle = [
{
handler = "reverse_proxy";
upstreams = [
{ dial = "localhost:${builtins.toString config.services.shelfmark.environment.FLASK_PORT}"; }
];
}
];
}
{
match = [
{