hosts: move attic back to sora
This commit is contained in:
parent
858c58475a
commit
4a9a48505a
7 changed files with 23 additions and 4 deletions
|
@ -141,6 +141,7 @@ in {
|
|||
modules = [
|
||||
./sora
|
||||
sopsModule
|
||||
atticModule
|
||||
hmModule
|
||||
{
|
||||
home-manager = {
|
||||
|
@ -201,7 +202,6 @@ in {
|
|||
modules = [
|
||||
./kaze
|
||||
sopsModule
|
||||
atticModule
|
||||
hmModule
|
||||
{
|
||||
home-manager = {
|
||||
|
|
|
@ -2,6 +2,5 @@ _: {
|
|||
imports = [
|
||||
./tailscale.nix
|
||||
./minio.nix
|
||||
./attic.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -4,8 +4,9 @@
|
|||
./traefik.nix
|
||||
./uptimekuma.nix
|
||||
./ntfy-sh.nix
|
||||
./attic.nix
|
||||
./tailscale.nix
|
||||
./factorio.nix
|
||||
# ./factorio.nix
|
||||
# ./minecraft.nix
|
||||
# ./foundryvtt.nix
|
||||
];
|
||||
|
|
|
@ -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";}];
|
||||
};
|
||||
};
|
||||
|
|
18
hosts/tsuki/services/atticd.nix
Normal file
18
hosts/tsuki/services/atticd.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
./atticd.nix
|
||||
./restic.nix
|
||||
./hydroxide.nix
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue