chore(access): fqdnAliases

This commit is contained in:
arcnmx 2024-09-03 15:22:49 -07:00
parent 73dcc4de99
commit 66593a2f81
3 changed files with 24 additions and 12 deletions

View file

@ -1,4 +1,4 @@
{lib, ...}: let
{config, lib, ...}: let
inherit (lib.strings) concatStringsSep;
dot = concatStringsSep ".";
cutie = dot ["cutie" "moe"];
@ -7,7 +7,13 @@
};
in {
type = "Linux";
access.domain = dot ["gensokyo" cutie];
access = {
domain = dot ["gensokyo" cutie];
fqdnAliases = map dot [
[config.access.hostName cutie]
#[config.access.hostName gensokyo-zone.lib.domain]
];
};
network.networks = {
local = {
imports = [netname];