♻️ [shared] Move domain to common file
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
{ common, ... }:
|
||||
let
|
||||
domain = "martials.no";
|
||||
domain = common.domain;
|
||||
in
|
||||
{
|
||||
services.caddy = {
|
||||
|
@ -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
|
||||
|
@ -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";
|
||||
|
Reference in New Issue
Block a user