m 2 bepasty-dual: use secretKeyFile
This commit is contained in:
parent
7be61ff2cd
commit
d52e271822
2configs
|
@ -14,7 +14,7 @@ with import <stockholm/lib>;
|
|||
let
|
||||
sec = toString <secrets>;
|
||||
# secKey is nothing worth protecting on a local machine
|
||||
secKey = import <secrets/bepasty-secret.nix>;
|
||||
secKey = "${secrets}/bepasty-secret";
|
||||
acmepath = "/var/lib/acme/";
|
||||
acmechall = acmepath + "/challenges/";
|
||||
ext-dom = "paste.krebsco.de" ;
|
||||
|
@ -31,7 +31,7 @@ in {
|
|||
serverAliases = [ "paste.retiolum" "paste.${config.krebs.build.host.name}" ];
|
||||
};
|
||||
defaultPermissions = "admin,list,create,read,delete";
|
||||
secretKey = secKey;
|
||||
secretKeyFile = secKey;
|
||||
};
|
||||
|
||||
"${ext-dom}" = {
|
||||
|
@ -41,7 +41,7 @@ in {
|
|||
enableACME = true;
|
||||
};
|
||||
defaultPermissions = "read";
|
||||
secretKey = secKey;
|
||||
secretKeyFile = secKey;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -22,7 +22,7 @@ with import <stockholm/lib>;
|
|||
user = config.krebs.users.makefu;
|
||||
source = let
|
||||
inherit (config.krebs.build) host user;
|
||||
ref = "3ff00fa"; # unstable @ 2017-03-31 + cups-dymo
|
||||
ref = "2982661"; # unstable @ 2017-03-31 + cups-dymo + snapraid-11.1
|
||||
in {
|
||||
nixpkgs = if config.makefu.full-populate || (getEnv "dummy_secrets" == "true") then
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue