12 lines
290 B
Nix
Raw Normal View History

2024-07-21 19:58:57 -07:00
{ config, pkgs, user, lib, ... }:
{
# Password-less logins for backup
users.users."${user}".openssh.authorizedKeys.keyFiles = [
config.age.secrets."ssh/kestrel/id_ed25519.pub".path
];
2024-07-21 19:58:57 -07:00
environment.systemPackages = with pkgs; [
restic # Fast and secure backup program
];
}