Btrbk: Difference between revisions
Remove redundant sudo rules since the NixOS module for btrbk already has those rules (https://github.com/NixOS/nixpkgs/blob/5630cf13cceac06cefe9fc607e8dfa8fb342dde3/nixos/modules/services/backup/btrbk.nix#L66) Tags: Mobile edit Mobile web edit |
Configure SSH access for remote host Tags: Mobile edit Mobile web edit |
||
Line 45: | Line 45: | ||
}; | }; | ||
}; | }; | ||
}; | |||
</nowiki>}} | |||
For the remote host, configure SSH access for Btrbk: | |||
{{file|/etc/nixos/configuration.nix|nix|<nowiki> | |||
services.btrbk = { | |||
sshAccess = [ | |||
{ | |||
key = "ssh-ed25519 blah"; | |||
roles = [ | |||
"target" | |||
"info" | |||
"receive" | |||
]; | |||
} | |||
]; | |||
}; | }; | ||
</nowiki>}} | </nowiki>}} |