Add docsga

This commit is contained in:
DashieTM 2024-08-27 23:51:52 +02:00
parent a50f970eda
commit 2195c7a850
10 changed files with 98 additions and 17 deletions

View file

@ -20,7 +20,7 @@
additional_packages = lib.mkOption {
default = [ ];
example = [ pkgs.openssl ];
type = with lib.types; listOf packages;
type = with lib.types; listOf package;
description = ''
Additional packages to install.
Note that these are installed even if base packages is disabled, e.g. you can also use this as the only packages to install.

View file

@ -22,12 +22,12 @@
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 ? 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 ? lab.path) then "IdentityFile ${config.sops.secrets.lab.path}" else ""}
Host dashie.org
${
if (config.sops.secrets ? dashie.path) then
if (config ? sops.secrets ? dashie.path) then
"IdentityFile ${config.sops.secrets.dashie.path}"
else
""