nixos/jackflix: Add Sonarr
This commit is contained in:
parent
e52518259c
commit
f99eb399dc
@ -35,8 +35,11 @@
|
||||
users = {
|
||||
groups.media.gid = 2000;
|
||||
users = {
|
||||
"${config.my.user.config.name}".extraGroups = [ "media" ];
|
||||
|
||||
transmission.extraGroups = [ "media" ];
|
||||
radarr.extraGroups = [ "media" ];
|
||||
sonarr.extraGroups = [ "media" ];
|
||||
};
|
||||
};
|
||||
|
||||
@ -46,6 +49,7 @@
|
||||
transmission.bindsTo = [ "systemd-networkd-wait-online@vpn.service" ];
|
||||
|
||||
radarr.serviceConfig.UMask = "0002";
|
||||
sonarr.serviceConfig.UMask = "0002";
|
||||
};
|
||||
};
|
||||
|
||||
@ -74,6 +78,7 @@
|
||||
|
||||
jackett.enable = true;
|
||||
radarr.enable = true;
|
||||
sonarr.enable = true;
|
||||
|
||||
jellyfin.enable = true;
|
||||
};
|
||||
|
@ -191,6 +191,19 @@ in
|
||||
}
|
||||
(ssoServer "generic")
|
||||
];
|
||||
"sonarr-test.${lib.my.pubDomain}" = mkMerge [
|
||||
{
|
||||
locations."/" = mkMerge [
|
||||
{
|
||||
proxyPass = "http://jackflix-ctr.${config.networking.domain}:8989";
|
||||
proxyWebsockets = true;
|
||||
}
|
||||
(ssoLoc "generic")
|
||||
];
|
||||
useACMEHost = lib.my.pubDomain;
|
||||
}
|
||||
(ssoServer "generic")
|
||||
];
|
||||
|
||||
"jackflix-test.${lib.my.pubDomain}" =
|
||||
let
|
||||
|
@ -33,7 +33,7 @@ in
|
||||
name = mkDefault' "dev";
|
||||
isNormalUser = true;
|
||||
uid = mkDefault 1000;
|
||||
extraGroups = mkDefault [ "wheel" "kvm" ];
|
||||
extraGroups = [ "wheel" "kvm" ];
|
||||
password = mkIf (cfg.passwordSecret == null) (mkDefault "hunter2");
|
||||
shell =
|
||||
let shell = cfg.homeConfig.my.shell;
|
||||
|
Loading…
Reference in New Issue
Block a user