Fix private build
This commit is contained in:
parent
c8ef67fbe9
commit
edf9ed4316
|
@ -5,6 +5,7 @@ let
|
|||
set -ex
|
||||
export PATH=${lib.makeBinPath path}:$PATH
|
||||
export NIX_PATH="/etc/nix-path:nixos-config=/etc/nixos/configuration.nix"
|
||||
export GIT_SSH_COMMAND="ssh -vv"
|
||||
cd /var/cache/gc-links
|
||||
'';
|
||||
in {
|
||||
|
|
2
private
2
private
|
@ -1 +1 @@
|
|||
Subproject commit dad66828a5c47029e33e8e8e156640608c66cf2f
|
||||
Subproject commit 3b12c89ea2045730c024d3e382ac610a7166b620
|
|
@ -11,7 +11,7 @@ in {
|
|||
inherit withSecrets;
|
||||
privatePath = name:
|
||||
let path = "/etc/nixos/private/${name}";
|
||||
in if withSecrets then assert builtins.pathExists path; path else path;
|
||||
in if withSecrets then assert builtins.pathExists (./private + "/${name}"); path else path;
|
||||
privateValue = default: name:
|
||||
if withSecrets then import (./private + "/${name}.nix") else default;
|
||||
privateFile = name:
|
||||
|
|
Loading…
Reference in a new issue