Now public key is copied to store (and its hash affects derivation hash)
svn path=/nixos/trunk/; revision=10954
This commit is contained in:
parent
e48a01523f
commit
cedc8aaf58
@ -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 = {
|
sudo = {
|
||||||
|
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
|
@ -11,6 +11,8 @@ let
|
|||||||
server = cfg.server;
|
server = cfg.server;
|
||||||
keepAlive = cfg.keepAlive;
|
keepAlive = cfg.keepAlive;
|
||||||
everPing = cfg.everPing;
|
everPing = cfg.everPing;
|
||||||
|
|
||||||
|
seccureKeys = config.security.seccureKeys;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user