From f95860f00089657d0c805c3e431bdb0f6598ad59 Mon Sep 17 00:00:00 2001 From: Gonne Date: Mon, 4 Mar 2024 09:23:25 +0100 Subject: [PATCH] Address Feedback --- nixos/modules/borgbackup.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/nixos/modules/borgbackup.nix b/nixos/modules/borgbackup.nix index 6179b1e..54e4595 100644 --- a/nixos/modules/borgbackup.nix +++ b/nixos/modules/borgbackup.nix @@ -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"; }; }; };