working restic jobb

This commit is contained in:
glenn 2024-06-24 08:12:35 +02:00
parent 66af534edc
commit e7c4000fbf
3 changed files with 9 additions and 1 deletions

View file

@ -108,12 +108,14 @@
home = "/home/sondell"; home = "/home/sondell";
isNormalUser = true; isNormalUser = true;
description = "sondell"; description = "sondell";
extraGroups = ["networkmanager" "wheel"]; extraGroups = ["networkmanager" "wheel" "backup"];
packages = with pkgs; [ packages = with pkgs; [
firefox firefox
# thunderbird # thunderbird
]; ];
}; };
users.groups."backup".gid = 1337;
users.users.root = { users.users.root = {
isNormalUser = false; isNormalUser = false;

View file

@ -9,6 +9,11 @@
# paths it should manage. # paths it should manage.
home.username = "sondell"; home.username = "sondell";
home.homeDirectory = "/home/sondell"; home.homeDirectory = "/home/sondell";
programs.ssh.addKeysToAgent = "yes";
programs.ssh.enable = true;
programs.ssh.matchBlocks."*".identityFile = [
"/home/sondell/.ssh/tulpan"
];
# This value determines the Home Manager release that your # This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage # configuration is compatible with. This helps avoid breakage

View file

@ -38,6 +38,7 @@ in
paths = [ paths = [
"/pool/var/lib/nextcloud" "/pool/var/lib/nextcloud"
]; ];
user = "sondell";
timerConfig.onCalendar = "02:05"; timerConfig.onCalendar = "02:05";
}; };
}; };