rotuer: make domainName configurable

Daniel Barlow 2024-02-11 15:11:06 +00:00
parent 0c8a2abba2
commit b6ac881d32
1 changed files with 5 additions and 2 deletions

View File

@ -8,7 +8,10 @@
{ config, pkgs, lib, ... } :
let
secrets = { firewallRules = {}; } // (import ./rotuer-secrets.nix);
secrets = {
domainName = "fake.liminix.org";
firewallRules = {};
} // (import ./rotuer-secrets.nix);
inherit (pkgs.liminix.services) oneshot longrun bundle;
inherit (pkgs) serviceFns;
svc = config.system.service;
@ -122,7 +125,7 @@ in rec {
# not putting my actual MAC addresses in a public git repo ...
hosts = { } // lib.optionalAttrs (builtins.pathExists ./static-leases.nix) (import ./static-leases.nix);
domain = "fake.liminix.org";
domain = secrets.domainName;
};
services.wan = svc.pppoe.build {