manatee: Add komga-comicbooktracker
This commit is contained in:
22
flake.lock
generated
22
flake.lock
generated
@@ -573,6 +573,27 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"komga-comictracker": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1771059880,
|
||||||
|
"narHash": "sha256-geYxweHQAvgfRJb0/peLnzIxb5sFnjfPLsuLseeXh/o=",
|
||||||
|
"ref": "main",
|
||||||
|
"rev": "e44339362fc80e968bb94fb019f860e673fc84ac",
|
||||||
|
"revCount": 27,
|
||||||
|
"type": "git",
|
||||||
|
"url": "ssh://gitea@git.ppp.pm:1122/alex/komga-comictracker.git"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"ref": "main",
|
||||||
|
"type": "git",
|
||||||
|
"url": "ssh://gitea@git.ppp.pm:1122/alex/komga-comictracker.git"
|
||||||
|
}
|
||||||
|
},
|
||||||
"naviterm": {
|
"naviterm": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
@@ -751,6 +772,7 @@
|
|||||||
"home-manager": "home-manager_2",
|
"home-manager": "home-manager_2",
|
||||||
"hyprland": "hyprland",
|
"hyprland": "hyprland",
|
||||||
"hyprland-contrib": "hyprland-contrib",
|
"hyprland-contrib": "hyprland-contrib",
|
||||||
|
"komga-comictracker": "komga-comictracker",
|
||||||
"naviterm": "naviterm",
|
"naviterm": "naviterm",
|
||||||
"nh": "nh",
|
"nh": "nh",
|
||||||
"nix-gc-env": "nix-gc-env",
|
"nix-gc-env": "nix-gc-env",
|
||||||
|
|||||||
@@ -69,6 +69,12 @@
|
|||||||
# url = "path:/home/alex/code/own/whib-react";
|
# url = "path:/home/alex/code/own/whib-react";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
komga-comictracker = {
|
||||||
|
url = "git+ssh://gitea@git.ppp.pm:1122/alex/komga-comictracker.git?ref=main";
|
||||||
|
# url = "path:/home/alex/code/own/komga-comictracker";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
{ lib, config, ... }:
|
{
|
||||||
|
inputs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
enabled = config.mod.komga.enable;
|
enabled = config.mod.komga.enable;
|
||||||
in
|
in
|
||||||
@@ -9,6 +14,8 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
imports = [ inputs.komga-comictracker.nixosModules.default ];
|
||||||
|
|
||||||
config = lib.mkIf enabled {
|
config = lib.mkIf enabled {
|
||||||
users.users.komga = {
|
users.users.komga = {
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
@@ -24,5 +31,23 @@ in
|
|||||||
settings.server.port = 8002;
|
settings.server.port = 8002;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.comictracker = {
|
||||||
|
enable = true;
|
||||||
|
komgaUrl = "http://manatee:8002";
|
||||||
|
secretsFile = config.age.secrets.komga-comicbooktracker-credentials.path;
|
||||||
|
|
||||||
|
notifyService = {
|
||||||
|
enable = true;
|
||||||
|
interval = "daily";
|
||||||
|
user = "alex";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
age.secrets = {
|
||||||
|
"komga-comicbooktracker-credentials" = {
|
||||||
|
file = ../../../../secrets/manatee/komga-comicbooktracker-credentials.age;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
secrets/manatee/komga-comicbooktracker-credentials.age
Normal file
BIN
secrets/manatee/komga-comicbooktracker-credentials.age
Normal file
Binary file not shown.
@@ -33,6 +33,7 @@ in {
|
|||||||
"manatee/syncthing-cert.age".publicKeys = [ manatee alex ];
|
"manatee/syncthing-cert.age".publicKeys = [ manatee alex ];
|
||||||
"manatee/syncthing-key.age".publicKeys = [ manatee alex ];
|
"manatee/syncthing-key.age".publicKeys = [ manatee alex ];
|
||||||
"manatee/hetzner-dns.age".publicKeys = [ manatee alex ];
|
"manatee/hetzner-dns.age".publicKeys = [ manatee alex ];
|
||||||
|
"manatee/komga-comicbooktracker-credentials.age".publicKeys = [ manatee alex];
|
||||||
|
|
||||||
"backwards/root.backwards.age".publicKeys = [ backwards alex ];
|
"backwards/root.backwards.age".publicKeys = [ backwards alex ];
|
||||||
"backwards/root.backwards.pub.age".publicKeys = [ backwards alex ];
|
"backwards/root.backwards.pub.age".publicKeys = [ backwards alex ];
|
||||||
|
|||||||
Reference in New Issue
Block a user