1
Fork 0

Finalize calypso install!

This commit is contained in:
prescientmoon 2024-08-26 23:30:04 +02:00
parent b67cf3fde7
commit 2357c5d3d6
Signed by: prescientmoon
SSH key fingerprint: SHA256:WFp/cO76nbarETAoQcQXuV+0h7XJsEsOCI0UsyPIy6U
5 changed files with 26 additions and 12 deletions
home/features/cli

View file

@ -1,10 +1,15 @@
{ config, ... }: {
{ config, ... }:
{
programs.ssh.enable = true;
satellite.persistence.at.state.apps.ssh.directories = [ ".ssh" ];
# Makes it easy to copy ssh keys at install time without messing up permissions
systemd.user.tmpfiles.rules = [
"d ${config.satellite.persistence.at.state.home}/ssh/.ssh/etc/ssh"
];
systemd.user.tmpfiles.rules =
let
ssh = "${config.satellite.persistence.at.state.home}/ssh/.ssh";
in
[
"d ${ssh}/ssh/.ssh"
"e ${ssh}/ssh/.ssh/id_rsa 0700"
"e ${ssh}/id_ed25519 0700"
];
}