Compare commits
2 Commits
e8e0758417
...
e1803a4edd
Author | SHA1 | Date |
---|---|---|
coolneng | e1803a4edd | |
coolneng | 41087204bc |
|
@ -18,7 +18,8 @@
|
||||||
image =
|
image =
|
||||||
"evanbuss/openbooks@sha256:16609c3da954715f8f98b5de6c838146914ae700b2a700b4d9aad8b23c9217da";
|
"evanbuss/openbooks@sha256:16609c3da954715f8f98b5de6c838146914ae700b2a700b4d9aad8b23c9217da";
|
||||||
ports = [ "127.0.0.1:9000:80" ];
|
ports = [ "127.0.0.1:9000:80" ];
|
||||||
cmd = [ "--name" "bradar" "--searchbot" "searchook" "--persist" ];
|
cmd =
|
||||||
|
[ "--name" "john-khrafosta" "--searchbot" "searchook" "--persist" ];
|
||||||
};
|
};
|
||||||
# Prometheus MQTT integration
|
# Prometheus MQTT integration
|
||||||
mqtt2prometheus = {
|
mqtt2prometheus = {
|
||||||
|
|
|
@ -1,16 +1,6 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
let
|
let wireguard_port = 1194;
|
||||||
wireguard_port = 1194;
|
|
||||||
|
|
||||||
latest-ddclient = pkgs.ddclient.overrideAttrs (old: rec {
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "ddclient";
|
|
||||||
repo = "ddclient";
|
|
||||||
rev = "3136871720a3c2abf730c9485edc351563765d0e";
|
|
||||||
sha256 = "sha256-qb1DF0DaVbPgQokGx0t7VVk3pe3KuA8mNRPrBMzhWvU=";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
in {
|
in {
|
||||||
# Enable systemd-networkd
|
# Enable systemd-networkd
|
||||||
|
@ -38,11 +28,11 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
quiet = true;
|
quiet = true;
|
||||||
use = "web, web=freedns";
|
use = "web, web=freedns";
|
||||||
package = latest-ddclient;
|
|
||||||
interval = "30min";
|
interval = "30min";
|
||||||
protocol = "duckdns";
|
protocol = "duckdns";
|
||||||
domains = [ "coolneng.duckdns.org" ];
|
domains = [ "coolneng.duckdns.org" ];
|
||||||
passwordFile = config.age.secrets.ddclient.path;
|
passwordFile = config.age.secrets.ddclient.path;
|
||||||
|
extraConfig = "";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Firewall configuration
|
# Firewall configuration
|
||||||
|
|
Loading…
Reference in New Issue