From f70c3bffcb8cc6b676fa3623ba06027368790f8c Mon Sep 17 00:00:00 2001 From: RGBCube Date: Wed, 10 Jan 2024 17:51:43 +0300 Subject: [PATCH] Specify url explicitly --- flake.lock | 6 +++--- hosts/cube/default.nix | 5 +++-- hosts/cube/site.nix | 3 ++- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index c16bdc3..3836e8d 100644 --- a/flake.lock +++ b/flake.lock @@ -791,11 +791,11 @@ "tools": "tools" }, "locked": { - "lastModified": 1704893737, - "narHash": "sha256-BHX26WXbp8DCUJJsTJF4fGJl7qDDTfSR+HtyogRR1oM=", + "lastModified": 1704898273, + "narHash": "sha256-H+2hv/HTY1NyWxMFM7YX7Ny69iNKs3PMC712s3qIR1w=", "owner": "RGBCube", "repo": "Site", - "rev": "90d744ac15bb99dc9e33b364178f0a25a7d0e425", + "rev": "81f236e18dc61632ed2fea160d21404878c54d36", "type": "github" }, "original": { diff --git a/hosts/cube/default.nix b/hosts/cube/default.nix index 82ea7d8..9e90065 100644 --- a/hosts/cube/default.nix +++ b/hosts/cube/default.nix @@ -1,10 +1,11 @@ { config, ulib, keys, ... }: with ulib; merge (systemConfiguration { - system.stateVersion = "23.05"; - + system.stateVersion = "23.05"; nixpkgs.hostPlatform = "x86_64-linux"; + networking.domain = "rgbcu.be"; + time.timeZone = "Europe/Amsterdam"; users.users.root.passwordFile = config.age.secrets."cube.password".path; diff --git a/hosts/cube/site.nix b/hosts/cube/site.nix index ee7298c..ff4f0ff 100644 --- a/hosts/cube/site.nix +++ b/hosts/cube/site.nix @@ -1,7 +1,8 @@ -{ ulib, ... }: with ulib; +{ config, ulib, ... }: with ulib; serverSystemConfiguration { services.site = enabled { + url = config.networking.domain; configureNginx = true; }; }