troubleshoot suwayomi
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# flake for blakes nixos config
|
||||
# define new devices in outputs
|
||||
# generation: 369, timestamp: 2025-10-12 16:39:52
|
||||
# generation: 373, timestamp: 2025-10-12 18:19:50
|
||||
{
|
||||
description = "blakes nix config";
|
||||
inputs = {
|
||||
|
||||
@@ -36,6 +36,7 @@ in
|
||||
jellyfin.enable = true;
|
||||
audiobookshelf.enable = true;
|
||||
yacreader.enable = true;
|
||||
suwayomi-server.enable = true;
|
||||
vaultwarden.enable = true;
|
||||
gitea.enable = true;
|
||||
glance.enable = true;
|
||||
|
||||
@@ -49,7 +49,7 @@ in
|
||||
uid = lib.mkForce cfg.ids;
|
||||
isSystemUser = true;
|
||||
home = cfg.data_dir;
|
||||
createHome = true;
|
||||
# createHome = true;
|
||||
group = "${service}";
|
||||
extraGroups = [ "media" ];
|
||||
};
|
||||
@@ -64,7 +64,7 @@ in
|
||||
server = {
|
||||
port = cfg.port;
|
||||
downloadAsCbz = true;
|
||||
localSourcePath = cfg.data_dir;
|
||||
# localSourcePath = cfg.data_dir;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
./gitea
|
||||
./home/homeassistant
|
||||
./immich
|
||||
./arr/suwayomi
|
||||
./arr/bazarr
|
||||
./arr/prowlarr
|
||||
./arr/radarr
|
||||
|
||||
@@ -40,6 +40,9 @@ in
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
# install the binary
|
||||
environment.systemPackages = with pkgs; [ yacreader ];
|
||||
|
||||
# declare ${service} group
|
||||
users.groups.${service} = { gid = lib.mkForce cfg.ids; };
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ in
|
||||
export BORG_PASSPHRASE="$(cat ${cfg.passwd_file})"
|
||||
export BORG_REPO="${cfg.repo}"
|
||||
timestamp="$(date +'%Y-%m-%d_%H:%M:%S')"
|
||||
mode=all
|
||||
mode=sep
|
||||
|
||||
# init repo in needed
|
||||
if ! borg info "$BORG_REPO" >/dev/null 2>&1; then
|
||||
|
||||
Reference in New Issue
Block a user