Clarify some code
This commit is contained in:
parent
daf5aac32d
commit
9c828ea0e4
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
cfg = config.khscodes.infrastructure.vault-server-approle.enable;
|
cfg = config.khscodes.infrastructure.vault-server-approle.enable;
|
||||||
userExists = username: builtins.hasAttr username config.users.users && config.users.users.enable;
|
userExists = username: (builtins.hasAttr username config.users.users) && config.users.users.enable;
|
||||||
setKhsPassword = pkgs.writeShellApplication {
|
setKhsPassword = pkgs.writeShellApplication {
|
||||||
name = "set-khs-password";
|
name = "set-khs-password";
|
||||||
runtimeInputs = [
|
runtimeInputs = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue