♻️ [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 let
domain = "martials.no"; domain = common.domain;
in in
{ {
services.caddy = { services.caddy = {

View File

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

View File

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