Compare commits
4 commits
3681ec55f3
...
92b94f0d2f
Author | SHA1 | Date | |
---|---|---|---|
92b94f0d2f | |||
50cdb7580d | |||
6df30dece7 | |||
853e55e953 |
5 changed files with 7 additions and 45 deletions
|
@ -48,7 +48,7 @@
|
|||
User notoh
|
||||
IdentityFile ~/.ssh/kariru
|
||||
Host yuki
|
||||
HostName 100.110.140.130
|
||||
HostName 100.108.113.89
|
||||
User notoh
|
||||
IdentityFile ~/.ssh/yuki
|
||||
Host arashi
|
||||
|
|
|
@ -21,7 +21,7 @@ inputs: {
|
|||
magicRollback = true;
|
||||
};
|
||||
yuki = {
|
||||
hostname = "100.110.140.130";
|
||||
hostname = "100.108.113.89";
|
||||
profiles.system = {
|
||||
user = "root";
|
||||
path = activate.nixos inputs.self.nixosConfigurations.yuki;
|
||||
|
|
|
@ -90,25 +90,25 @@
|
|||
|
||||
"truenas.internal.flake.sh" = "192.168.1.199";
|
||||
"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";
|
||||
"pve.internal.flake.sh" = "192.168.1.37";
|
||||
"pbs.internal.flake.sh" = "192.168.1.38";
|
||||
|
||||
# media
|
||||
|
||||
"jellyfin.internal.flake.sh" = "192.168.1.36";
|
||||
"jellyseerr.internal.flake.sh" = "192.168.1.36";
|
||||
"jellyfin.internal.flake.sh" = "192.168.1.98";
|
||||
"jellyseerr.internal.flake.sh" = "192.168.1.98";
|
||||
"sonarr.internal.flake.sh" = "192.168.1.54";
|
||||
"radarr.internal.flake.sh" = "192.168.1.54";
|
||||
"bazarr.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";
|
||||
|
||||
# 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";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
./restic.nix
|
||||
./traefik.nix
|
||||
./stash.nix
|
||||
./jellyfin.nix
|
||||
./wallos.nix
|
||||
./homepage.nix
|
||||
./glances.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue