feat: init backup module

This commit is contained in:
Luj 2024-09-03 22:03:09 +02:00
parent 71693eaa99
commit 23fc74efa6
Signed by: luj
GPG key ID: 6FC74C847011FD83
7 changed files with 169 additions and 0 deletions

16
machines/gustave/borg.nix Normal file
View file

@ -0,0 +1,16 @@
{ pkgs, ... }:
{
users.users.borg = {
home = "/home/borg";
group = "borg";
isNormalUser = true;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAziNbLEO9D69xUGPGEq3eXYauFuOlvhqQTwpLNKjFqs julien@tower"
];
};
users.groups.borg = { };
environment.systemPackages = with pkgs; [ borgbackup ];
}