lidarr-mb-gap

This commit is contained in:
Danilo Reyes
2025-11-11 11:37:15 -06:00
parent a489b81316
commit d21594cfcd
3 changed files with 90 additions and 7 deletions

View File

@@ -7,6 +7,7 @@
}:
{
imports = [
inputs.lidarr-mb-gap.nixosModules.lidarr-mb-gap
./hardware-configuration.nix
../../config/base.nix
../../config/stylix.nix
@@ -65,11 +66,34 @@
users.users.jawz.packages = builtins.attrValues {
inherit (pkgs) podman-compose attic-client;
};
services.btrfs.autoScrub = {
enable = true;
fileSystems = [
"/"
"/srv/pool"
];
services = {
btrfs.autoScrub = {
enable = true;
fileSystems = [
"/"
"/srv/pool"
];
};
lidarr-mb-gap = {
enable = true;
package = inputs.lidarr-mb-gap.packages.${pkgs.system}.lidarr-mb-gap;
reportDir = "/var/lib/lidarr-mb-gap/reports";
envFile = "/var/lib/lidarr-mb-gap/.env";
runInterval = "weekly";
syncToVPS = false;
# vpsHost = "user@vps";
# vpsPath = "/var/www/html";
# sshKeyFile = "/var/lib/lidarr-mb-gap/.ssh/id_ed25519";
# sshKnownHosts = {
# vps = {
# hostNames = [
# "vps"
# "vps.example.com"
# "1.2.3.4"
# ];
# publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAI...";
# };
# };
};
};
}