From c386394e10232da31c73b63e34d1bb57a3606d2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Sun, 6 Oct 2024 13:35:13 -0300 Subject: [PATCH] add hello-fonts --- flake.lock | 17 +++++++++++++++++ flake.nix | 4 ++++ hosts/phantom/goofs.nix | 5 +++++ 3 files changed, 26 insertions(+) diff --git a/flake.lock b/flake.lock index 4bb7f11..c006e3e 100644 --- a/flake.lock +++ b/flake.lock @@ -423,6 +423,22 @@ "type": "github" } }, + "hello-fonts": { + "flake": false, + "locked": { + "lastModified": 1728232065, + "narHash": "sha256-1DUW1YqZALPFxBM7HYcNZiCZQvMqUiJ1m04NU4IIe3I=", + "ref": "refs/heads/main", + "rev": "10f7485fea930bb45e97fbda0cd68f199a7e8f59", + "revCount": 1, + "type": "git", + "url": "https://git.lelgenio.com/lelgenio/hello-fonts" + }, + "original": { + "type": "git", + "url": "https://git.lelgenio.com/lelgenio/hello-fonts" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -583,6 +599,7 @@ "dhist": "dhist", "disko": "disko", "dzgui-nix": "dzgui-nix", + "hello-fonts": "hello-fonts", "home-manager": "home-manager", "made-you-look": "made-you-look", "nix-index-database": "nix-index-database", diff --git a/flake.nix b/flake.nix index 7c5709b..dbbf16e 100644 --- a/flake.nix +++ b/flake.nix @@ -78,6 +78,10 @@ url = "git+https://git.lelgenio.com/lelgenio/youre-wrong"; flake = false; }; + hello-fonts = { + url = "git+https://git.lelgenio.com/lelgenio/hello-fonts"; + flake = false; + }; }; outputs = inputs: diff --git a/hosts/phantom/goofs.nix b/hosts/phantom/goofs.nix index 8eb7f69..c0b670a 100644 --- a/hosts/phantom/goofs.nix +++ b/hosts/phantom/goofs.nix @@ -38,4 +38,9 @@ forceSSL = true; root = inputs.youre-wrong; }; + services.nginx.virtualHosts."hello-fonts.lelgenio.com" = { + enableACME = true; + forceSSL = true; + root = inputs.hello-fonts; + }; }