summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-12-18 01:05:30 +0100
committerlassulus <lassulus@lassul.us>2017-12-18 01:05:30 +0100
commit2a441c59adcec203091401f5f6b72c5ac1e87c51 (patch)
tree487c21e3283f5c3e1ffe9f101259673366f9f3e4
parentbf9d3272d1185c57c9f0a5843a1212205da67a14 (diff)
l: get secrets from pass
-rw-r--r--lass/source.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/lass/source.nix b/lass/source.nix
index 710bfdf2d..66cdacea8 100644
--- a/lass/source.nix
+++ b/lass/source.nix
@@ -12,9 +12,12 @@ in
url = https://github.com/nixos/nixpkgs;
ref = "cb751f9";
};
- secrets.file = getAttr builder {
- buildbot = toString <stockholm/lass/2configs/tests/dummy-secrets>;
- lass = "/home/lass/secrets/${name}";
+ secrets = getAttr builder {
+ buildbot.file = toString <stockholm/lass/2configs/tests/dummy-secrets>;
+ lass.pass = {
+ dir = "${getEnv "HOME"}/.password-store";
+ name = "hosts/${name}";
+ };
};
stockholm.file = toString <stockholm>;
}