mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-18 10:47:31 -08:00
passwordless login for kestrel restic backup
This commit is contained in:
parent
8324addc4e
commit
03d7b2495c
@ -3,7 +3,7 @@
|
||||
|
||||
# nixos
|
||||
alias nu="cd ~/.local/share/chezmoi/provision && \
|
||||
sudo nixos-rebuild switch --flake .#$(hostname) && \
|
||||
sudo nixos-rebuild switch --impure --flake .#$(hostname) && \
|
||||
cd -"
|
||||
# sway
|
||||
alias s='sway'
|
||||
|
@ -1,5 +1,10 @@
|
||||
{ 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
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user