summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2024-12-27 12:43:22 +0100
committerMartin Fischer <martin@push-f.com>2024-12-27 12:43:22 +0100
commita38027b74258a984dd959d6558440bf3078e336e (patch)
treec60c167d9ef0063ce97a898797fc5b127d3c1b5c
parentec7955516c78c0a02388c17384c1fcfbb032fbfb (diff)
refactor: merge domains.nix into tente-configuration.nix
-rw-r--r--nixos/domains.nix9
-rw-r--r--nixos/tente-configuration.nix11
2 files changed, 10 insertions, 10 deletions
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, ... }: