ssh: manage git ssh key
This commit is contained in:
parent
73427f47d4
commit
1ce0ee80c5
2 changed files with 1 additions and 8 deletions
|
@ -68,13 +68,5 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
sops.secrets =
|
|
||||||
let home = config.home.homeDirectory;
|
|
||||||
in lib.mkIf sops {
|
|
||||||
"private_keys/personal_git" = {
|
|
||||||
path = "${home}/.ssh/personal_git";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,6 +46,7 @@ in
|
||||||
sops.secrets = ifSops {
|
sops.secrets = ifSops {
|
||||||
"private_keys/msiserver" = { };
|
"private_keys/msiserver" = { };
|
||||||
"private_keys/caveserver" = { };
|
"private_keys/caveserver" = { };
|
||||||
|
"private_keys/personal_git" = { };
|
||||||
|
|
||||||
"ssh_hosts/caveserver".path = "${sshDir}/conf.d/caveserver_config";
|
"ssh_hosts/caveserver".path = "${sshDir}/conf.d/caveserver_config";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue