Solve doc kernel issue
This commit is contained in:
parent
a5da4f286f
commit
dfc4b5cf94
8 changed files with 31 additions and 23 deletions
|
|
@ -22,12 +22,22 @@
|
|||
ssh_config = lib.mkOption {
|
||||
default = ''
|
||||
Host github.com
|
||||
${if (config ? sops.secrets ? hub.path) then "IdentityFile ${config.sops.secrets.hub.path}" else ""}
|
||||
${
|
||||
if (config ? sops.secrets && config.sops.secrets ? hub.path) then
|
||||
"IdentityFile ${config.sops.secrets.hub.path}"
|
||||
else
|
||||
""
|
||||
}
|
||||
Host gitlab.com
|
||||
${if (config ? sops.secrets ? lab.path) then "IdentityFile ${config.sops.secrets.lab.path}" else ""}
|
||||
${
|
||||
if (config ? sops.secrets && config.sops.secrets ? lab.path) then
|
||||
"IdentityFile ${config.sops.secrets.lab.path}"
|
||||
else
|
||||
""
|
||||
}
|
||||
Host dashie.org
|
||||
${
|
||||
if (config ? sops.secrets ? dashie.path) then
|
||||
if (config ? sops.secrets && config.sops.secrets ? dashie.path) then
|
||||
"IdentityFile ${config.sops.secrets.dashie.path}"
|
||||
else
|
||||
""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue