Compare commits

...

2 commits

Author SHA1 Message Date
afc18efdd2
package into derivation 2026-05-12 19:30:39 +03:00
2a8d930b35
rename to index.html 2026-05-12 19:30:26 +03:00
2 changed files with 17 additions and 2 deletions

View file

@ -1,7 +1,22 @@
{
description = "My resume";
outputs = { self }: {
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
packages.${system}.default = pkgs.stdenv.mkDerivation {
name = "resume";
src = ./.;
installPhase = ''
mkdir -p $out
cp index.html resume.css $out/
'';
};
};
}