fixes some errors

This commit is contained in:
Dennis Schoepf 2026-03-10 20:04:40 +01:00
parent 027d3092dd
commit 90e4691c25
2 changed files with 29 additions and 27 deletions

View file

@ -2,7 +2,7 @@
let
commonPackages =
pkgs: with pkgs; [
neofetch
fastfetch
zip
unzip
ripgrep

View file

@ -20,33 +20,35 @@
};
};
# Root SSH for storage box
programs.ssh = {
extraConfig = ''
Host dnsc-storage
AddKeysToAgent yes
Hostname u295965.your-storagebox.de
User u295965
IdentityFile /root/.ssh/id_ed25519
IdentitiesOnly yes
Port 23
'';
};
config = {
# Root SSH for storage box
programs.ssh = {
extraConfig = ''
Host dnsc-storage
AddKeysToAgent yes
Hostname u295965.your-storagebox.de
User u295965
IdentityFile /root/.ssh/id_ed25519
IdentitiesOnly yes
Port 23
'';
};
services.restic.backups = {
"dnsc-storage" = {
initialize = true;
passwordFile = config.age.secrets."restic/password".path;
repository = config.restic.repository;
createWrapper = true;
paths = config.restic.backupPaths;
pruneOpts = [
"--keep-last 3"
];
timerConfig = {
OnCalendar = "daily";
Persistent = true;
RandomizedDelaySec = "5h";
services.restic.backups = {
"dnsc-storage" = {
initialize = true;
passwordFile = config.age.secrets."restic/password".path;
repository = config.restic.repository;
createWrapper = true;
paths = config.restic.backupPaths;
pruneOpts = [
"--keep-last 3"
];
timerConfig = {
OnCalendar = "daily";
Persistent = true;
RandomizedDelaySec = "5h";
};
};
};
};