exported configuration

This commit is contained in:
Jan-Bulthuis 2025-06-09 15:55:53 +02:00
parent 28193823c8
commit 709040c072

View File

@ -41,6 +41,10 @@
serviceConfig.type = "oneshot"; serviceConfig.type = "oneshot";
script = '' script = ''
. ${config.sops.secrets."smb-credentials".path} . ${config.sops.secrets."smb-credentials".path}
export PBS_REPOSITORY=$PBS_REPOSITORY
export PBS_NAMESPACE=$PBS_NAMESPACE
export PBS_PASSWORD=$PBS_PASSWORD
export PBS_FINGERPRINT=$PBS_FINGERPRINT
echo $password | ${pkgs.krb5}/bin/kinit $username echo $password | ${pkgs.krb5}/bin/kinit $username
''; '';
}; };