bragi backup config #28

Merged
Gonne merged 5 commits from Gonne/nixConfig:bragi into main 2024-03-30 19:10:30 +00:00
Showing only changes of commit e340a7eb75 - Show all commits

View file

@ -20,6 +20,11 @@ in {
config = mkIf cfg.enable {
services.borgbackup = {
# repos are made available at ssh://borg@hostname and served according to the presented ssh-key
# If you think about adding keys of nix machines:
# Congratulations, you are the first person to make backups from a nixos machine.
# Your won the task of automatizing this endeavor, so in future we don't need to hand copy any
# ssh keys anymore.
repos = {
aphoom-zhah = {
authorizedKeysAppendOnly = [
@ -138,7 +143,10 @@ in {
users.users = {
fsaccount = {
description = "FS Account backup";
isNormalUser = true;
isSystemUser = true;
home = "/home/fsaccount";
createHome = true;
group = "users";
};
};
};