rotuer: make domainName configurable

mainline-omnia-wip
Daniel Barlow 2024-02-11 15:11:06 +00:00
parent 6684d34a43
commit e6705c4d06
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;
@ -121,7 +124,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 {