hosts: move attic back to sora

This commit is contained in:
notohh 2024-01-05 14:43:55 -05:00
parent 858c58475a
commit 4a9a48505a
Signed by: notohh
GPG key ID: BD47506D475EE86D
7 changed files with 23 additions and 4 deletions

View file

@ -141,6 +141,7 @@ in {
modules = [
./sora
sopsModule
atticModule
hmModule
{
home-manager = {
@ -201,7 +202,6 @@ in {
modules = [
./kaze
sopsModule
atticModule
hmModule
{
home-manager = {

View file

@ -2,6 +2,5 @@ _: {
imports = [
./tailscale.nix
./minio.nix
./attic.nix
];
}

View file

@ -4,8 +4,9 @@
./traefik.nix
./uptimekuma.nix
./ntfy-sh.nix
./attic.nix
./tailscale.nix
./factorio.nix
# ./factorio.nix
# ./minecraft.nix
# ./foundryvtt.nix
];

View file

@ -171,7 +171,7 @@
neko.loadBalancer.servers = [{url = "http://100.104.42.96:8085";}];
justlog.loadBalancer.servers = [{url = "http://100.121.201.47:8025";}];
ntfy-sh.loadBalancer.servers = [{url = "http://100.104.42.96:8090";}];
attic.loadBalancer.servers = [{url = "http://100.69.79.81:8200";}];
attic.loadBalancer.servers = [{url = "http://100.104.42.96:8200";}];
minio.loadBalancer.servers = [{url = "http://100.69.79.81:9005";}];
};
};

View file

@ -0,0 +1,18 @@
{pkgs, ...}: {
environment.systemPackages = [pkgs.attic];
systemd.services.atticd = {
enable = true;
wantedBy = [
"multi-user.target"
];
description = "atticd";
serviceConfig = {
User = "notoh";
ExecStart = "${pkgs.attic}/bin/attic watch-store kyasshu";
Restart = "always";
RestartSec = 30;
};
};
}

View file

@ -1,5 +1,6 @@
{...}: {
imports = [
./atticd.nix
./restic.nix
./hydroxide.nix
];