mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
12 lines
290 B
Nix
12 lines
290 B
Nix
{ config, pkgs, user, lib, ... }:
|
|
{
|
|
# Password-less logins for backup
|
|
users.users."${user}".openssh.authorizedKeys.keyFiles = [
|
|
config.age.secrets."ssh/kestrel/id_ed25519.pub".path
|
|
];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
restic # Fast and secure backup program
|
|
];
|
|
}
|