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