pass inputs in container friendly way

This commit is contained in:
zuckerberg
2021-09-24 13:53:36 -04:00
parent de9c03977b
commit b7f6576d64
6 changed files with 32 additions and 26 deletions

View File

@@ -1,4 +1,4 @@
{ config, pkgs, lib, inputs, ... }:
{ config, pkgs, lib, ... }:
{
imports =[
@@ -47,11 +47,14 @@
config = {
imports = [
../../common/common.nix
inputs.agenix.nixosModules.age
config.inputs.agenix.nixosModules.age
];
pia.enable = true;
nixpkgs.pkgs = pkgs;
# because nixos specialArgs doesn't work for containers... need to pass in inputs a different way
options.inputs = lib.mkOption { default = config.inputs; };
services.radarr.enable = true;
services.radarr.openFirewall = true;
services.bazarr.enable = true;