Use overlays for shiny packages
This commit is contained in:
parent
c0435e5ef5
commit
bbb149def3
3 changed files with 15 additions and 14 deletions
|
@ -1,14 +1,9 @@
|
|||
{
|
||||
system,
|
||||
nixpkgs-bazarr,
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
dinit.enable = true;
|
||||
init.services.bazarr.shutdownOnExit = true;
|
||||
|
||||
services.bazarr = {
|
||||
enable = true;
|
||||
package = nixpkgs-bazarr.legacyPackages.${system}.bazarr;
|
||||
configDir = "/config";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -24,11 +24,22 @@ in {
|
|||
nixng.nglib.makeSystem {
|
||||
inherit nixpkgs system;
|
||||
name = "nixng-${name}";
|
||||
config = import configFile;
|
||||
|
||||
specialArgs = {
|
||||
inherit nixpkgs-jellyseerr nixpkgs-bazarr;
|
||||
inherit (self) globals;
|
||||
};
|
||||
config = import configFile;
|
||||
|
||||
extraModules = [
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
(final: _prev: {
|
||||
bazarr = nixpkgs-bazarr.legacyPackages.${system}.bazarr;
|
||||
jellyseerr = nixpkgs-jellyseerr.legacyPackages.${system}.jellyseerr;
|
||||
})
|
||||
];
|
||||
}
|
||||
];
|
||||
})
|
||||
images;
|
||||
})
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
{
|
||||
system,
|
||||
nixpkgs-jellyseerr,
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
dinit.enable = true;
|
||||
init.services.jellyseerr.shutdownOnExit = true;
|
||||
|
||||
services.jellyseerr = {
|
||||
enable = true;
|
||||
package = nixpkgs-jellyseerr.legacyPackages.${system}.jellyseerr;
|
||||
configDir = "/app/config";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue