♻️ [shared] Move domain to common file

This commit is contained in:
2025-05-19 21:51:12 +02:00
parent c6fcb7b6b8
commit 882c42a093
3 changed files with 12 additions and 4 deletions

View File

@ -1,5 +1,6 @@
{ common, ... }:
let
domain = "martials.no";
domain = common.domain;
in
{
services.caddy = {

View File

@ -13,6 +13,8 @@ rec {
pictures = "${dir.home}/Pictures";
};
domain = "martials.no";
keymaps = {
layout = "gb,no";
options = "grp:alt_shift_toggle"; # Toggle using ALT + SHIFT

View File

@ -1,8 +1,13 @@
# /nix/store/<hash>/etc/ssh/ssh_config
{ systemConfig, systems, ... }:
# /nix/store/<hash>/etc/ssh/ssh_config & /nix/store/<hash>/etc/ssh/authorized_keys
{
systemConfig,
systems,
common,
...
}:
with builtins;
let
domain = "dns.martials.no";
domain = "dns.${common.domain}";
allSystems = systems ++ [
{
hostName = "homelab";