Finalize calypso install!
This commit is contained in:
parent
b67cf3fde7
commit
2357c5d3d6
5 changed files with 26 additions and 12 deletions
home/features/cli
|
@ -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"
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue