This commit is contained in:
parent
424e3cad9e
commit
84e7c4bb1e
7 changed files with 619 additions and 266 deletions
860
flake.lock
860
flake.lock
File diff suppressed because it is too large
Load diff
|
@ -93,5 +93,6 @@
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
botoh.url = "git+https://git.flake.sh/notohh/botoh";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
11
hosts/yuki/services/botoh.nix
Normal file
11
hosts/yuki/services/botoh.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{inputs, ...}: {
|
||||||
|
imports = [inputs.botoh.nixosModules.default];
|
||||||
|
sops.secrets = {
|
||||||
|
twitch_auth = {};
|
||||||
|
};
|
||||||
|
services.botoh = {
|
||||||
|
enable = true;
|
||||||
|
log_level = "info";
|
||||||
|
environmentFiles = ["/run/secrets/twitch_auth"];
|
||||||
|
};
|
||||||
|
}
|
|
@ -11,6 +11,7 @@
|
||||||
./anki-sync-server.nix
|
./anki-sync-server.nix
|
||||||
./paperless.nix
|
./paperless.nix
|
||||||
./hydroxide.nix
|
./hydroxide.nix
|
||||||
./twitch-miner.nix
|
# ./twitch-miner.nix
|
||||||
|
./botoh.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
_: {
|
_: {
|
||||||
virtualisation.oci-containers.containers.twitch-miner = {
|
virtualisation.oci-containers.containers.twitch-miner = {
|
||||||
image = "rdavidoff/twitch-channel-points-miner-v2@sha256:a344037ff4180fccc909ca398cc180a840ffd89f6af121789a58764a86769e58";
|
image = "rdavidoff/twitch-channel-points-miner-v2@sha256:a344037ff4180fccc909ca398cc180a840ffd89f6af121789a58764a86769e58";
|
||||||
hostname = "twitch-miner";
|
|
||||||
volumes = [
|
volumes = [
|
||||||
"/home/notoh/twitch-miner/analytics:/usr/src/app/analytics"
|
"/home/notoh/twitch-miner/analytics:/usr/src/app/analytics"
|
||||||
"/home/notoh/twitch-miner/cookies:/usr/src/app/cookie"
|
"/home/notoh/twitch-miner/cookies:/usr/src/app/cookie"
|
||||||
|
|
|
@ -15,8 +15,8 @@ sops:
|
||||||
bE85dXI2VVN1Z2c0ZFQvdkQwM3FGbUkKWy5O+mqHTokLVV5FQ4UziVBadxpymX9D
|
bE85dXI2VVN1Z2c0ZFQvdkQwM3FGbUkKWy5O+mqHTokLVV5FQ4UziVBadxpymX9D
|
||||||
BHUoDve8WgKFkRCY46ibnYofIumJqYRiHXPSUN46QQMg0GDma3jWRA==
|
BHUoDve8WgKFkRCY46ibnYofIumJqYRiHXPSUN46QQMg0GDma3jWRA==
|
||||||
-----END AGE ENCRYPTED FILE-----
|
-----END AGE ENCRYPTED FILE-----
|
||||||
lastmodified: "2024-01-15T07:39:16Z"
|
lastmodified: "2024-05-13T23:07:50Z"
|
||||||
mac: ENC[AES256_GCM,data:qAwtUv3U5d0oY5GeiWoirZZsDpfEtgrgqxYHZvfbnQq9AMA7YERNjY4bvmwRQgmq1ZQ0F8E4opa6k9d+eeOCRqExip1Y8RI6BjuiMg6Ksn1lLLfGkDWDXeu8s4XILXKYkV5pZOqsnvdKo9dzCiiVGHTMFxRy8wXCbNaAPsjFaFI=,iv:kVl4GjwKaJMVNJohwiCAD64ogGkLC+jjQkS8arUslI8=,tag:OATDDGBiwT7boXm6OpJCYA==,type:str]
|
mac: ENC[AES256_GCM,data:eXahJFLKxwCmnMwU/BNJTkvcwSlyBTSqXuvV6oG7hcbB7nRCtd6aJ+R3G+lVqvp96QTk9FA2RUke5jy+VMmDheOeyxe0fYAu6sQqt4QjGmo3FPj54LEbML4ZARRln0haU4J5pl0hbsav489LAusuf8KTBS4NGl4zNBN039azYCg=,iv:2OZZFtxoCWCjiN2VY+V4wBN+6YaeICo/lIDH2kSHDb4=,tag:hBDadFZ/xgqYeGMIp4AT0g==,type:str]
|
||||||
pgp: []
|
pgp: []
|
||||||
unencrypted_suffix: _unencrypted
|
unencrypted_suffix: _unencrypted
|
||||||
version: 3.8.1
|
version: 3.8.1
|
||||||
|
|
|
@ -14,6 +14,7 @@ miniflux: ENC[AES256_GCM,data:H5YA60nFQkUVBhLrNjQY7E5hhBPjjQEqQ6PJB5ZNj1KNKtUSWt
|
||||||
anki-pwd: ENC[AES256_GCM,data:g3HNzilSVAsRkqOPdQHr0MZZkwOKz4gdDDBvhRZbD1w=,iv:49UNCpA6WLPKp2Y85Vpdgk/Eu47NyLGxXWDl5Qmkn8Y=,tag:n7hEcd908mkQbOr73qlYSw==,type:str]
|
anki-pwd: ENC[AES256_GCM,data:g3HNzilSVAsRkqOPdQHr0MZZkwOKz4gdDDBvhRZbD1w=,iv:49UNCpA6WLPKp2Y85Vpdgk/Eu47NyLGxXWDl5Qmkn8Y=,tag:n7hEcd908mkQbOr73qlYSw==,type:str]
|
||||||
paperless-pwd: ENC[AES256_GCM,data:Ylb5Bojq0YFsVWbKkeMQXLXuyoUDdKWkY7OcFcrzdlNa,iv:bpgJx46branHQTJUOoYfIOsguLrjjxoYFk069YMkyAE=,tag:d0kdILLVFT3fR2gw52qGEA==,type:str]
|
paperless-pwd: ENC[AES256_GCM,data:Ylb5Bojq0YFsVWbKkeMQXLXuyoUDdKWkY7OcFcrzdlNa,iv:bpgJx46branHQTJUOoYfIOsguLrjjxoYFk069YMkyAE=,tag:d0kdILLVFT3fR2gw52qGEA==,type:str]
|
||||||
vaultwarden-env: ENC[AES256_GCM,data:db5b1dqvHs86t1exBaymKU3bLh4JYy4oHwgU5kjrsaybe+FzvevepngPIuXBvB1gduqaeiUP6iwaRNDMJG1NVEr7Wz3+IpMvLlcSnIPSWpjEXtuo1b5Bh4fSpl+TEAaTHK21jNWoaKJoQLE6CabTUed1lR1S7L+UdEII6CbY+4VnF4BH63viPEaG7Od3M/tbRtTlRWoLZuCydEo3cnbcfx37A1MpKDJEdFbqUwZ79oyV7Q==,iv:gfJwMfCMrJYzeKOeaSnvYH2pgiLMAD9o255U6+oaPp0=,tag:a1IV56uhTPTLj62SAkzlSw==,type:str]
|
vaultwarden-env: ENC[AES256_GCM,data:db5b1dqvHs86t1exBaymKU3bLh4JYy4oHwgU5kjrsaybe+FzvevepngPIuXBvB1gduqaeiUP6iwaRNDMJG1NVEr7Wz3+IpMvLlcSnIPSWpjEXtuo1b5Bh4fSpl+TEAaTHK21jNWoaKJoQLE6CabTUed1lR1S7L+UdEII6CbY+4VnF4BH63viPEaG7Od3M/tbRtTlRWoLZuCydEo3cnbcfx37A1MpKDJEdFbqUwZ79oyV7Q==,iv:gfJwMfCMrJYzeKOeaSnvYH2pgiLMAD9o255U6+oaPp0=,tag:a1IV56uhTPTLj62SAkzlSw==,type:str]
|
||||||
|
twitch_auth: ENC[AES256_GCM,data:vWWMfFdRRf+Ars8HhBRKLX3AdhNCgb7EEUxcQauxgtf/KIw8x6tjjPBZbRlI0MVLahW11N6UECexujfgMlKmrRW48ErPwQrmfVB4D+AIPqhscE31ZFXkJFQ5zBs9+ziz6i9dQ1Io7dBdb+qepw==,iv:90KK1ZvaH+bYp0K4bGr/G8dwDeHv556KOyQx8WncgOw=,tag:JkoluGzNrSChzgDfgVPptg==,type:str]
|
||||||
sops:
|
sops:
|
||||||
kms: []
|
kms: []
|
||||||
gcp_kms: []
|
gcp_kms: []
|
||||||
|
@ -29,8 +30,8 @@ sops:
|
||||||
YWNQcURKMSs2U0pOa3E0cTdCZ3RnalkKGayA7DBUQS+kn+6OYVBc6oTunF0qeZdt
|
YWNQcURKMSs2U0pOa3E0cTdCZ3RnalkKGayA7DBUQS+kn+6OYVBc6oTunF0qeZdt
|
||||||
5b9DLHgh0HRWFm09XGSOog8K315d93Wzblw1My1/dXeEQX/ryinqUQ==
|
5b9DLHgh0HRWFm09XGSOog8K315d93Wzblw1My1/dXeEQX/ryinqUQ==
|
||||||
-----END AGE ENCRYPTED FILE-----
|
-----END AGE ENCRYPTED FILE-----
|
||||||
lastmodified: "2024-02-23T02:37:45Z"
|
lastmodified: "2024-06-16T11:19:38Z"
|
||||||
mac: ENC[AES256_GCM,data:jP//WalZ3v4IsmrvYKp/6Y/ByPlN2s4TXdAVUZo+RL0GWI0g/F+yuqXCITqIF3csNlQFZXYHIbzOUpKhvjt/O1AB9JmA6Sym5SWAtHQ8v8U04bIOfq5Avr4VfpazQ/G86oSOFoZGwt21eySRTrYsSnw0a3h+3I01OmtR6jFVgR8=,iv:NP7wrwoNkEgwAW6hvJdFA22vHzVvwvp+F5bVUSzHgXg=,tag:jRZapuQ0vpMYNzHUZq5GFQ==,type:str]
|
mac: ENC[AES256_GCM,data:APnffJ0Tejmd3HPioN9P+qZjX6w6fzbB3qZUt6AwjJMRjXbCWU+sgvaHzgHe2QUUGZdptmdQMDRjM24Xeaa9lpHz6iSAODH74uEQaTHjZwofS/6c5A8ETNIBhbt1lFAkjVF+K5FtOLAuVNYscLitJG0HzcGBYJrPoYkuNc8VKYo=,iv:pe7ap6NM+cS9spYLXBjdvKx2Iokf7qIXXzqk9SvYakE=,tag:RcrTtyTT6dg8QlJYKSyQKw==,type:str]
|
||||||
pgp: []
|
pgp: []
|
||||||
unencrypted_suffix: _unencrypted
|
unencrypted_suffix: _unencrypted
|
||||||
version: 3.8.1
|
version: 3.8.1
|
||||||
|
|
Loading…
Reference in a new issue