initial commit

This commit is contained in:
2024-11-13 22:26:45 +01:00
commit fd466fc511
156 changed files with 13223 additions and 0 deletions

34
flake.nix Normal file
View File

@@ -0,0 +1,34 @@
{
description = "Rixxc's Personal Website and Blog";
inputs.nixpkgs.url = "nixpkgs/nixpkgs-unstable";
outputs = { nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
with pkgs;
{
packages.${system}.default = stdenv.mkDerivation
{
name = "Personal Website";
src = ./.;
nativeBuildInputs = [
hugo
rsync
exiftool
];
buildPhase = ''
hugo
'';
installPhase = ''
mkdir $out
cp -r public/* $out/
'';
};
};
}