mirror of
https://github.com/louis-thevenet/portfolio.git
synced 2026-10-15 13:38:18 +02:00
No description
portfolio.ltvnt.com
- Astro 51.7%
- TypeScript 39.8%
- CSS 6.5%
- Nix 1.8%
- JavaScript 0.2%
| .vscode | ||
| public | ||
| src | ||
| .gitattributes | ||
| .gitignore | ||
| astro.config.mjs | ||
| flake.lock | ||
| flake.nix | ||
| package-lock.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| tsconfig.json | ||
Portfolio
Deploy on NixOS
Add the repo's flake to your inputs:
inputs.portfolio = {
url = "github:louis-thevenet/portfolio";
inputs.nixpkgs.follows = "nixpkgs";
};
Deploy the website with NGINX:
let
system = pkgs.stdenv.hostPlatform.system;
portfolioSite = inputs.portfolio.packages.${system}.default;
url = "your.website.com";
in
{
services.nginx = {
enable = true;
virtualHosts.${url} = {
root = "${portfolioSite}";
enableACME = true;
forceSSL = true;
};
};
}