reorganise /homes

This commit is contained in:
do butterflies cry? 2026-03-22 12:26:35 +10:00
parent 719bd1de6b
commit 85071855ec
Signed by: cry
GPG key ID: F68745A836CA0412
32 changed files with 219 additions and 1031 deletions

View file

@ -0,0 +1,16 @@
{osConfig, ...}: {
assertions = [
{
assertion = !osConfig.services.gnupg.agent.enable;
message = ''
It is not recommended to enable both `homeConfig.services.ssh-agent.enable` and `osConfig.services.gnupg.agent.enable`!
'';
}
];
# enable OpenSSH private key agent
services.ssh-agent.enable = true;
# WARNING: the ssh-agent won't set this for itself...
systemd.user.sessionVariables.SSH_AUTH_SOCK = "$XDG_RUNTIME_DIR/ssh-agent";
}