Compare commits

..

4 commits

Author SHA1 Message Date
92b94f0d2f
blocky: update ips
All checks were successful
flake check / check (push) Successful in 3m47s
fmt check / check (push) Successful in 37s
2023-12-07 06:09:55 -05:00
50cdb7580d
deploy: update yuki ip 2023-12-07 06:09:48 -05:00
6df30dece7
default: update yuki ip 2023-12-07 06:09:41 -05:00
853e55e953
yuki: remove restic 2023-12-07 06:09:19 -05:00
5 changed files with 7 additions and 45 deletions

View file

@ -48,7 +48,7 @@
User notoh User notoh
IdentityFile ~/.ssh/kariru IdentityFile ~/.ssh/kariru
Host yuki Host yuki
HostName 100.110.140.130 HostName 100.108.113.89
User notoh User notoh
IdentityFile ~/.ssh/yuki IdentityFile ~/.ssh/yuki
Host arashi Host arashi

View file

@ -21,7 +21,7 @@ inputs: {
magicRollback = true; magicRollback = true;
}; };
yuki = { yuki = {
hostname = "100.110.140.130"; hostname = "100.108.113.89";
profiles.system = { profiles.system = {
user = "root"; user = "root";
path = activate.nixos inputs.self.nixosConfigurations.yuki; path = activate.nixos inputs.self.nixosConfigurations.yuki;

View file

@ -90,25 +90,25 @@
"truenas.internal.flake.sh" = "192.168.1.199"; "truenas.internal.flake.sh" = "192.168.1.199";
"assistant.internal.flake.sh" = "192.168.1.189"; "assistant.internal.flake.sh" = "192.168.1.189";
"dashboard.internal.flake.sh" = "192.168.1.36"; "dashboard.internal.flake.sh" = "192.168.1.98";
"udm.internal.flake.sh" = "192.168.1.1"; "udm.internal.flake.sh" = "192.168.1.1";
"pve.internal.flake.sh" = "192.168.1.37"; "pve.internal.flake.sh" = "192.168.1.37";
"pbs.internal.flake.sh" = "192.168.1.38"; "pbs.internal.flake.sh" = "192.168.1.38";
# media # media
"jellyfin.internal.flake.sh" = "192.168.1.36"; "jellyfin.internal.flake.sh" = "192.168.1.98";
"jellyseerr.internal.flake.sh" = "192.168.1.36"; "jellyseerr.internal.flake.sh" = "192.168.1.98";
"sonarr.internal.flake.sh" = "192.168.1.54"; "sonarr.internal.flake.sh" = "192.168.1.54";
"radarr.internal.flake.sh" = "192.168.1.54"; "radarr.internal.flake.sh" = "192.168.1.54";
"bazarr.internal.flake.sh" = "192.168.1.54"; "bazarr.internal.flake.sh" = "192.168.1.54";
"prowlarr.internal.flake.sh" = "192.168.1.54"; "prowlarr.internal.flake.sh" = "192.168.1.54";
"stash.internal.flake.sh" = "192.168.1.36"; "stash.internal.flake.sh" = "192.168.1.98";
"nextcloud.internal.flake.sh" = "192.168.1.199"; "nextcloud.internal.flake.sh" = "192.168.1.199";
# misc # misc
"wallos.internal.flake.sh" = "192.168.1.36"; "wallos.internal.flake.sh" = "192.168.1.98";
"synology.internal.flake.sh" = "192.168.1.71"; "synology.internal.flake.sh" = "192.168.1.71";
}; };
}; };

View file

@ -1,11 +1,9 @@
{...}: { {...}: {
imports = [ imports = [
./restic.nix
./traefik.nix ./traefik.nix
./stash.nix ./stash.nix
./jellyfin.nix ./jellyfin.nix
./wallos.nix ./wallos.nix
./homepage.nix ./homepage.nix
./glances.nix
]; ];
} }

View file

@ -1,36 +0,0 @@
{
pkgs,
config,
...
}: {
sops.secrets.restic-repo-pwd = {};
environment.systemPackages = [pkgs.restic];
services.restic = {
backups = {
yuki = {
paths = [
"/home"
];
exclude = [
"*.qcow2"
"*.iso"
"/home/*/Downloads"
"/home/*/.cache"
"/home/*/.local/share/Trash"
"/home/*/.local/share/.var"
];
pruneOpts = [
"--keep-daily=4"
"--keep-weekly=3"
"--keep-monthly=2"
];
initialize = true;
repository = "/nas/home";
passwordFile = config.sops.secrets.restic-repo-pwd.path;
timerConfig = {
OnCalendar = "daily";
};
};
};
};
}