Fix wrong name.
This commit is contained in:
parent
d7e5393ffe
commit
6faa6e2ba1
1 changed files with 6 additions and 6 deletions
12
module.nix
12
module.nix
|
@ -98,15 +98,15 @@ in
|
||||||
"/nix/store"
|
"/nix/store"
|
||||||
])
|
])
|
||||||
|
|
||||||
(lib.mkIf (config.privateKeyFile != null) [
|
(lib.mkIf (cfg.privateKeyFile != null) [
|
||||||
(toString config.privateKeyFile)
|
(toString cfg.privateKeyFile)
|
||||||
]);
|
]);
|
||||||
];
|
];
|
||||||
ExecPaths = [
|
ExecPaths = [
|
||||||
"/nix/store"
|
"/nix/store"
|
||||||
];
|
];
|
||||||
Environment = lib.mkIf (config.privateKeyFile != null) [
|
Environment = lib.mkIf (cfg.privateKeyFile != null) [
|
||||||
"NIX_SECRET_KEY_FILE=${toString config.privateKeyFile}"
|
"NIX_SECRET_KEY_FILE=${toString cfg.privateKeyFile}"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
script = ''
|
script = ''
|
||||||
|
@ -118,8 +118,8 @@ in
|
||||||
binaryCaches = [
|
binaryCaches = [
|
||||||
"http://127.0.0.1:12304/"
|
"http://127.0.0.1:12304/"
|
||||||
];
|
];
|
||||||
binaryCachePublicKeys = lib.mkIf (config.publicKeyFile != null) [
|
binaryCachePublicKeys = lib.mkIf (cfg.publicKeyFile != null) [
|
||||||
(builtins.readFile config.publicKeyFile)
|
(builtins.readFile cfg.publicKeyFile)
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue