forked from dan/liminix
rotuer: make domainName configurable
This commit is contained in:
parent
6684d34a43
commit
e6705c4d06
@ -8,7 +8,10 @@
|
|||||||
|
|
||||||
{ config, pkgs, lib, ... } :
|
{ config, pkgs, lib, ... } :
|
||||||
let
|
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.liminix.services) oneshot longrun bundle;
|
||||||
inherit (pkgs) serviceFns;
|
inherit (pkgs) serviceFns;
|
||||||
svc = config.system.service;
|
svc = config.system.service;
|
||||||
@ -121,7 +124,7 @@ in rec {
|
|||||||
# not putting my actual MAC addresses in a public git repo ...
|
# not putting my actual MAC addresses in a public git repo ...
|
||||||
hosts = { } // lib.optionalAttrs (builtins.pathExists ./static-leases.nix) (import ./static-leases.nix);
|
hosts = { } // lib.optionalAttrs (builtins.pathExists ./static-leases.nix) (import ./static-leases.nix);
|
||||||
|
|
||||||
domain = "fake.liminix.org";
|
domain = secrets.domainName;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.wan = svc.pppoe.build {
|
services.wan = svc.pppoe.build {
|
||||||
|
Loading…
Reference in New Issue
Block a user