♻️ [shared] Refactor system configs

This commit is contained in:
2025-06-02 21:02:33 +02:00
parent b74e5aab62
commit 724fe6767e
4 changed files with 21 additions and 8 deletions

View File

@ -14,6 +14,10 @@ rec {
};
domain = "martials.no";
tailnetDomain = "dns.${domain}";
localIpPrefix = "192.168.10.";
localIpAddr = subAddr: "${localIpPrefix}${builtins.toString subAddr}";
tailnetAddr = host: "${host}.${tailnetDomain}";
keymaps = {
layout = "gb,no";