Add sas private repo requirements
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -53,7 +53,30 @@
|
||||
|
||||
networking.hostName = "elara";
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
sops.defaultSopsFile = ./secrets/secrets.yaml;
|
||||
|
||||
sops = {
|
||||
defaultSopsFile = ./secrets/secrets.yaml;
|
||||
|
||||
# Required for building private SAS packages
|
||||
secrets."ssh/sas/git/key" = {
|
||||
sopsFile = ../../secrets/sas/secrets.yaml;
|
||||
path = "/root/.ssh/ssh_git_sas_ed25519_key";
|
||||
};
|
||||
};
|
||||
|
||||
programs.ssh.extraConfig = ''
|
||||
Host github.com
|
||||
User git
|
||||
HostName github.com
|
||||
IdentityFile /root/.ssh/ssh_git_sas_ed25519_key
|
||||
StrictHostKeyChecking no
|
||||
|
||||
Host gitlab.sas.com
|
||||
User git
|
||||
HostName gitlab.sas.com
|
||||
IdentityFile /root/.ssh/ssh_git_sas_ed25519_key
|
||||
StrictHostKeyChecking no
|
||||
'';
|
||||
|
||||
environment.impermanence.device =
|
||||
config.disko.devices.disk.usb.content.partitions.root.content.name;
|
||||
|
Reference in New Issue
Block a user