inherit
This commit is contained in:
1 parent
efa9b3a67e
commit
c61c523711
1 file changed
+2
-2
@@ -16,7 +16,7 @@
|
||||
postgresql-db,
|
||||
}@inputs:
|
||||
let
|
||||
credentialMap = builtins.listToAttrs (
|
||||
credentials = builtins.listToAttrs (
|
||||
map (filename: {
|
||||
name = builtins.replaceStrings [ ".env" ] [ "-env" ] filename;
|
||||
value = nixpkgs.runCommand "sops-decrypt-${filename}" { } ''
|
||||
@@ -30,7 +30,7 @@
|
||||
vm = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
credentials = credentialMap;
|
||||
inherit credentials;
|
||||
};
|
||||
modules = [
|
||||
./virtual.nix
|
||||
|
||||
Reference in new issue
Block a user