mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
test
This commit is contained in:
parent
b059bbbb0c
commit
2a2802303e
1 changed files with 12 additions and 0 deletions
|
|
@ -5,6 +5,18 @@
|
|||
pkgs,
|
||||
...
|
||||
}: {
|
||||
# Setup access to protected repos via our host ssh key
|
||||
environment.etc."ssh/root_config".text = ''
|
||||
Host github.com
|
||||
User git
|
||||
PreferredAuthentications publickey
|
||||
IdentityFile /etc/ssh/ssh_host_ed25519_key
|
||||
'';
|
||||
|
||||
system.activationScripts.rootSSHConfig.text = ''
|
||||
install -m 0600 -o root -g root /etc/ssh/root_config /root/.ssh/config
|
||||
'';
|
||||
|
||||
programs.ssh = {
|
||||
startAgent = true;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue