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 = [ modules = [
./sora ./sora
sopsModule sopsModule
atticModule
hmModule hmModule
{ {
home-manager = { home-manager = {
@ -201,7 +202,6 @@ in {
modules = [ modules = [
./kaze ./kaze
sopsModule sopsModule
atticModule
hmModule hmModule
{ {
home-manager = { home-manager = {

View file

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

View file

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

View file

@ -171,7 +171,7 @@
neko.loadBalancer.servers = [{url = "http://100.104.42.96:8085";}]; neko.loadBalancer.servers = [{url = "http://100.104.42.96:8085";}];
justlog.loadBalancer.servers = [{url = "http://100.121.201.47:8025";}]; justlog.loadBalancer.servers = [{url = "http://100.121.201.47:8025";}];
ntfy-sh.loadBalancer.servers = [{url = "http://100.104.42.96:8090";}]; 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";}]; 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 = [ imports = [
./atticd.nix
./restic.nix ./restic.nix
./hydroxide.nix ./hydroxide.nix
]; ];