import flaresolverr module

This commit is contained in:
nyanloutre 2024-10-28 22:18:03 +01:00
parent 3d797c3c6f
commit fae42bcdb2
3 changed files with 20 additions and 3 deletions

View File

@ -21,7 +21,15 @@
};
};
outputs = { self, nixpkgs, nixpkgs-unstable, nixpkgs-4a3fc4cf7, simple-nixos-mailserver, dogetipbot-telegram, ipmihddtemp }: {
outputs = {
self,
nixpkgs,
nixpkgs-unstable,
nixpkgs-4a3fc4cf7,
simple-nixos-mailserver,
dogetipbot-telegram,
ipmihddtemp
}@inputs: {
packages.x86_64-linux = (import ./pkgs nixpkgs.legacyPackages.x86_64-linux);
@ -48,6 +56,7 @@
nixosConfigurations.loutreos = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
specialArgs = {
inputs = inputs;
pkgs-unstable = import nixpkgs-unstable {
inherit system;
};

View File

@ -2,10 +2,11 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{ config, pkgs, inputs, ... }:
{
imports = [
"${inputs.nixpkgs-unstable}/nixos/modules/services/misc/flaresolverr.nix"
../common-cli.nix
./hardware-configuration.nix
./users.nix

View File

@ -26,7 +26,14 @@
enable = true;
package = pkgs-unstable.sonarr;
};
prowlarr.enable = true;
flaresolverr = {
enable = false;
package = pkgs-unstable.flaresolverr;
};
prowlarr = {
enable = true;
package = pkgs-unstable.prowlarr;
};
jellyfin = {
enable = true;