pass inputs in container friendly way
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user