Now public key is copied to store (and its hash affects derivation hash)

svn path=/nixos/trunk/; revision=10954
This commit is contained in:
Michael Raskin 2008-03-04 16:06:33 +00:00
parent e48a01523f
commit cedc8aaf58
2 changed files with 18 additions and 0 deletions

View file

@ -1891,6 +1891,22 @@
";
};
seccureKeys = {
public = mkOption {
default = /var/elliptic-keys/public;
description = "
Public key. Make it path argument, so it is copied into store and
hashed.
";
};
private = mkOption {
default = "/var/elliptic-keys/private";
description = "
Private key. Make it string argument, so it is not copied into store.
";
};
};
sudo = {
enable = mkOption {

View file

@ -11,6 +11,8 @@ let
server = cfg.server;
keepAlive = cfg.keepAlive;
everPing = cfg.everPing;
seccureKeys = config.security.seccureKeys;
};
in
{