Compare commits
No commits in common. "0d73bc4d6952713271444c03e9434db942721eb1" and "12f4124506b1e978cb6857724d77baa0c0733ea4" have entirely different histories.
0d73bc4d69
...
12f4124506
@ -1,9 +0,0 @@
|
|||||||
self: super:
|
|
||||||
|
|
||||||
{
|
|
||||||
dogetipbot-telegram = super.callPackage (super.fetchgit {
|
|
||||||
url = "https://gitlab.com/nyanloutre/dogetipbot-telegram.git";
|
|
||||||
rev = "ebf12e00a4dccf1621b695ecbdb0753f1e3f6052";
|
|
||||||
sha256 = "04xkp6djq8h3sdh8q9bs1ii0x1hbqb0icnsni7kp7wrr1w910dni";
|
|
||||||
}) { pkgs = self; };
|
|
||||||
}
|
|
@ -45,7 +45,6 @@
|
|||||||
(import ../../overlays/site-max.nix)
|
(import ../../overlays/site-max.nix)
|
||||||
(import ../../overlays/site-musique.nix)
|
(import ../../overlays/site-musique.nix)
|
||||||
(import ../../overlays/vsftpd.nix)
|
(import ../../overlays/vsftpd.nix)
|
||||||
(import ../../overlays/dogetipbot-telegram.nix)
|
|
||||||
];
|
];
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
neovim
|
neovim
|
||||||
@ -59,7 +58,6 @@
|
|||||||
tig
|
tig
|
||||||
openssl
|
openssl
|
||||||
lftp
|
lftp
|
||||||
nix-prefetch-scripts
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
@ -281,18 +281,6 @@ in
|
|||||||
services.site-max.port = max_port;
|
services.site-max.port = max_port;
|
||||||
services.site-max.domaine = "maxspiegel.fr";
|
services.site-max.domaine = "maxspiegel.fr";
|
||||||
|
|
||||||
systemd.services.dogetipbot-telegram = {
|
|
||||||
after = [ "network.target" ];
|
|
||||||
wantedBy = [ "multi-user.target" ];
|
|
||||||
script = "${pkgs.dogetipbot-telegram}/bin/dogetipbot-telegram --block-io-api-key $BLOCK_IO_API_KEY --block-io-pin $BLOCK_IO_PIN --telegram-api-key $TELEGRAM_API_KEY --network DOGE";
|
|
||||||
enable = true;
|
|
||||||
serviceConfig = {
|
|
||||||
EnvironmentFile = "/var/dogetipbot-telegram/env";
|
|
||||||
User = "nobody";
|
|
||||||
Group = "nogroup";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [
|
networking.firewall.allowedTCPPorts = [
|
||||||
111 2049 4000 4001 4002 # NFS
|
111 2049 4000 4001 4002 # NFS
|
||||||
3483 9000 9090 # Slimserver
|
3483 9000 9090 # Slimserver
|
||||||
|
Loading…
Reference in New Issue
Block a user