From a38027b74258a984dd959d6558440bf3078e336e Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Fri, 27 Dec 2024 12:43:22 +0100 Subject: refactor: merge domains.nix into tente-configuration.nix --- nixos/domains.nix | 9 --------- nixos/tente-configuration.nix | 11 ++++++++++- 2 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 nixos/domains.nix diff --git a/nixos/domains.nix b/nixos/domains.nix deleted file mode 100644 index 576e0de..0000000 --- a/nixos/domains.nix +++ /dev/null @@ -1,9 +0,0 @@ -let - domain = "push-f.com"; -in -{ - personalWebsite = domain; - tailscaleControlServer = "tailscale.${domain}"; - gitWebsite = "git.${domain}"; - matrixServer = "matrix.${domain}"; -} diff --git a/nixos/tente-configuration.nix b/nixos/tente-configuration.nix index 26e8ed9..183e065 100644 --- a/nixos/tente-configuration.nix +++ b/nixos/tente-configuration.nix @@ -4,7 +4,16 @@ # https://search.nixos.org/options and in the NixOS manual (`nixos-help`). let - domains = import ./domains.nix; + domains = + let + domain = "push-f.com"; + in + { + personalWebsite = domain; + tailscaleControlServer = "tailscale.${domain}"; + gitWebsite = "git.${domain}"; + matrixServer = "matrix.${domain}"; + }; acmeEmail = "martin@push-f.com"; in { config, lib, pkgs, ... }: -- cgit v1.2.3