mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
12 lines
275 B
Nix
12 lines
275 B
Nix
{ config, pkgs, user, lib, ... }:
|
|
{
|
|
# Password-less logins for backup
|
|
users.users."${user}".openssh.authorizedKeys.keyFiles = [
|
|
config.age.secrets."ssh/torus/id_ed25519.pub".path
|
|
];
|
|
systemd.tmpfiles.rules = [
|
|
"d /store 0775 ${user} users -"
|
|
];
|
|
}
|
|
|