burnham: Add domeneshop-dyndns, make it a module

This commit is contained in:
2024-09-08 01:22:36 +02:00
parent 162134d951
commit 7cd7596d66
7 changed files with 108 additions and 26 deletions

View File

@@ -11,8 +11,9 @@
./services/wireguard.nix
# Other
./services/thelounge.nix
./services/dyndns.nix
./services/nginx.nix
./services/thelounge.nix
];
boot.loader.systemd-boot.enable = lib.mkForce false;
@@ -30,7 +31,7 @@
hostId = "8e24f235";
};
# sops.defaultSopsFile = ../../secrets/burnham/burnham.yaml;
sops.defaultSopsFile = ../../secrets/burnham/burnham.yaml;
environment.variables = { EDITOR = "vim"; };

View File

@@ -0,0 +1,11 @@
{ config, pkgs, lib, ... }:
{
sops.secrets."domeneshop/env" = { };
services.domeneshop-dyndns = {
enable = true;
domain = "site2.feal.no";
environmentFile = config.sops.secrets."domeneshop/env".path;
};
}