mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
passwordless login for kestrel restic backup
This commit is contained in:
parent
8324addc4e
commit
8e0e5c9488
@ -1,5 +1,10 @@
|
|||||||
{ config, pkgs, user, lib, ... }:
|
{ 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; [
|
environment.systemPackages = with pkgs; [
|
||||||
restic # Fast and secure backup program
|
restic # Fast and secure backup program
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user