pass inputs in container friendly way
This commit is contained in:
@@ -35,9 +35,12 @@
|
||||
inputs.agenix.nixosModules.age
|
||||
{
|
||||
environment.systemPackages = [ inputs.agenix.defaultPackage.${system} ];
|
||||
|
||||
# because nixos specialArgs doesn't work for containers... need to pass in inputs a different way
|
||||
options.inputs = lib.mkOption { default = inputs; };
|
||||
}
|
||||
];
|
||||
specialArgs = { inherit inputs; inherit system; };
|
||||
# specialArgs = {};
|
||||
};
|
||||
in
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user