Compare commits

...

3 commits

Author SHA1 Message Date
d4b8011776
nix: add cache.flake.sh
Some checks are pending
flake check / check (push) Waiting to run
fmt check / check (push) Waiting to run
2024-01-05 14:44:23 -05:00
564e3fb28d
chatterino7: bump version 2024-01-05 14:44:11 -05:00
4a9a48505a
hosts: move attic back to sora 2024-01-05 14:43:55 -05:00
9 changed files with 27 additions and 6 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
]; ];

View file

@ -34,6 +34,7 @@
"https://nix-gaming.cachix.org" "https://nix-gaming.cachix.org"
"https://anyrun.cachix.org" "https://anyrun.cachix.org"
"https://viperml.cachix.org" "https://viperml.cachix.org"
"https://cache.flake.sh/kyasshu"
]; ];
trusted-public-keys = [ trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
@ -41,6 +42,7 @@
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4=" "nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
"anyrun.cachix.org-1:pqBobmOjI7nKlsUMV25u9QHa9btJK65/C8vnO3p346s=" "anyrun.cachix.org-1:pqBobmOjI7nKlsUMV25u9QHa9btJK65/C8vnO3p346s="
"viperml.cachix.org-1:qZhKBMTfmcLL+OG6fj/hzsMEedgKvZVFRRAhq7j8Vh8=" "viperml.cachix.org-1:qZhKBMTfmcLL+OG6fj/hzsMEedgKvZVFRRAhq7j8Vh8="
"kyasshu:g1heIgCgG7M4San6nRsz/omcVQ1GTc7+zKKm3L9Co7o="
]; ];
}; };
}; };

View file

@ -21,8 +21,8 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "SevenTV"; owner = "SevenTV";
repo = pname; repo = pname;
rev = "a997941f822fae19a613799ff20de4d7a3f71e07"; rev = "7eef663cc3e1e863011b6d0eb377e64f9478b673";
sha256 = "sha256-m0IE6cZ+JSjghD3WaVOlSRABcbnafiW+VYaSGQ4CBqU="; sha256 = "sha256-5Zvjf2nohKK/ykF2VFYVjsPpgj7/xWyL2fa/L1iphbk=";
fetchSubmodules = true; fetchSubmodules = true;
}; };