Compare commits
3 commits
858c58475a
...
d4b8011776
Author | SHA1 | Date | |
---|---|---|---|
d4b8011776 | |||
564e3fb28d | |||
4a9a48505a |
9 changed files with 27 additions and 6 deletions
|
@ -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 = {
|
||||||
|
|
|
@ -2,6 +2,5 @@ _: {
|
||||||
imports = [
|
imports = [
|
||||||
./tailscale.nix
|
./tailscale.nix
|
||||||
./minio.nix
|
./minio.nix
|
||||||
./attic.nix
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
|
@ -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";}];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
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 = [
|
imports = [
|
||||||
|
./atticd.nix
|
||||||
./restic.nix
|
./restic.nix
|
||||||
./hydroxide.nix
|
./hydroxide.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -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="
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue