forked from Fachschaft/nixConfig
Address Feedback
This commit is contained in:
parent
3b286fa05b
commit
d06350b450
1 changed files with 9 additions and 1 deletions
|
@ -20,6 +20,11 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
services.borgbackup = {
|
services.borgbackup = {
|
||||||
# repos are made available at ssh://borg@hostname and served according to the presented ssh-key
|
# 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 = {
|
repos = {
|
||||||
aphoom-zhah = {
|
aphoom-zhah = {
|
||||||
authorizedKeysAppendOnly = [
|
authorizedKeysAppendOnly = [
|
||||||
|
@ -138,7 +143,10 @@ in {
|
||||||
users.users = {
|
users.users = {
|
||||||
fsaccount = {
|
fsaccount = {
|
||||||
description = "FS Account backup";
|
description = "FS Account backup";
|
||||||
isNormalUser = true;
|
isSystemUser = true;
|
||||||
|
home = "/home/fsaccount";
|
||||||
|
createHome = true;
|
||||||
|
group = "users";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue