diff --git a/containers/lidarr.nix b/containers/lidarr.nix index c4bd004..a886f5f 100644 --- a/containers/lidarr.nix +++ b/containers/lidarr.nix @@ -5,7 +5,7 @@ }: { options.settings.containers.lidarr = { - enable = lib.mkEnableOption "enable lidarr arion container"; + enable = lib.mkEnableOption "enable lidarr container"; }; config = lib.mkIf config.settings.containers.lidarr.enable { @@ -33,34 +33,5 @@ services.lidarr.openFirewall = true; }; }; - - # virtualisation.arion.projects.lidarr = { - # settings = { - # project.name = "lidarr"; - # services.lidarr = { - # service.useHostStore = true; - # nixos.useSystemd = true; - # nixos.configuration = - # { lib, ... }: - # { - # boot.isContainer = true; - # boot.tmp.useTmpfs = true; - # networking.useDHCP = false; - # services.nscd.enable = false; - # system.nssModules = lib.mkForce [ ]; - - # services.lidarr.enable = true; - # services.lidarr.openFirewall = true; - # services.lidarr.dataDir = "/config"; - # services.lidarr.user = "root"; - # }; - # service.ports = [ "8686:8686" ]; - # service.volumes = [ - # "/config/lidarr:/config" - # "/data:/data" - # ]; - # }; - # }; - # }; }; } diff --git a/containers/qbittorrent.nix b/containers/qbittorrent.nix index fe9eb97..0934e1a 100644 --- a/containers/qbittorrent.nix +++ b/containers/qbittorrent.nix @@ -23,11 +23,13 @@ ]; service.volumes = [ "/config/qbittorrent:/config" - "/data/torrents:/torrents" + "/data/torrents:/data/torrents" ]; service.environment = { WEBUI_PORT = 8080; TORRENTING_PORT = 6881; + PUID = 0; + PGID = 0; }; }; };