mirror of
https://github.com/nmasur/dotfiles
synced 2026-11-13 19:25:02 +00:00
Compare commits
3
Commits
a8dc2f0d62
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
75e7ddb104 | ||
|
|
0d96b8fbed | ||
|
|
314298134d |
No files matched your search
@@ -22,6 +22,7 @@ in
|
|||||||
extensions = [
|
extensions = [
|
||||||
pkgs.nmasur.gh-collaborators
|
pkgs.nmasur.gh-collaborators
|
||||||
pkgs.gh-dash
|
pkgs.gh-dash
|
||||||
|
pkgs.gh-actions-lock
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -15,8 +15,6 @@ in
|
|||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
||||||
home.packages = [ pkgs.jj-starship ];
|
|
||||||
|
|
||||||
programs.starship = {
|
programs.starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = true;
|
enableFishIntegration = true;
|
||||||
@@ -29,7 +27,9 @@ in
|
|||||||
"$git_branch"
|
"$git_branch"
|
||||||
"$git_commit"
|
"$git_commit"
|
||||||
"$git_status"
|
"$git_status"
|
||||||
"\${custom.jj}"
|
"$jj_bookmark"
|
||||||
|
"$jj_status"
|
||||||
|
"$jj_change"
|
||||||
"$hostname"
|
"$hostname"
|
||||||
"$cmd_duration"
|
"$cmd_duration"
|
||||||
"$character"
|
"$character"
|
||||||
@@ -51,17 +51,6 @@ in
|
|||||||
show_notifications = false;
|
show_notifications = false;
|
||||||
format = "[$duration]($style) ";
|
format = "[$duration]($style) ";
|
||||||
};
|
};
|
||||||
custom = {
|
|
||||||
jj = {
|
|
||||||
when = "jj-starship detect";
|
|
||||||
shell = [
|
|
||||||
"jj-starship"
|
|
||||||
"--no-jj-prefix"
|
|
||||||
"--no-git-prefix"
|
|
||||||
];
|
|
||||||
format = "$output ";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
directory = {
|
directory = {
|
||||||
truncate_to_repo = true;
|
truncate_to_repo = true;
|
||||||
truncation_length = 100;
|
truncation_length = 100;
|
||||||
|
|||||||
@@ -106,6 +106,12 @@ in
|
|||||||
lidarr = {
|
lidarr = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
shelfmark = {
|
||||||
|
enable = true;
|
||||||
|
environment = {
|
||||||
|
URL_BASE = "/shelfmark";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Allows shared group to read/write the sabnzbd directory
|
# 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 = [
|
match = [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user