mirror of
https://github.com/ryantm/agenix.git
synced 2024-11-21 17:20:47 +03:00
Make isDarwin check more robust
This commit is contained in:
parent
2c56a93426
commit
ec66ebe0ee
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
|||
with lib; let
|
||||
cfg = config.age;
|
||||
|
||||
isDarwin = builtins.hasAttr "darwinConfig" options.environment;
|
||||
isDarwin = lib.attrsets.hasAttrByPath ["environment" "darwinConfig"] options;
|
||||
|
||||
# we need at least rage 0.5.0 to support ssh keys
|
||||
rage =
|
||||
|
|
Loading…
Reference in a new issue