initial
This commit is contained in:
commit
3ea8e0e7f3
3 changed files with 49 additions and 0 deletions
23
flake.nix
Normal file
23
flake.nix
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
description = "https://doll.repair";
|
||||||
|
|
||||||
|
inputs = {
|
||||||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } {
|
||||||
|
systems = [ "x86_64-linux" "aarch64-linux" ];
|
||||||
|
perSystem = { config, self', pkgs, lib, system, ... }: {
|
||||||
|
devShells.default = import ./shell.nix { inherit pkgs; };
|
||||||
|
|
||||||
|
packages.default = pkgs.stdenvNoCC.mkDerivation {
|
||||||
|
name = "doll.repair";
|
||||||
|
src = ./.;
|
||||||
|
installPhase = ''
|
||||||
|
cp -r . $out/
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
21
index.html
Normal file
21
index.html
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Local Doll Repair</title>
|
||||||
|
<link rel="preconnect" href="https://fonts.bunny.net" />
|
||||||
|
<link
|
||||||
|
href="https://fonts.bunny.net/css?family=atkinson-hyperlegible:400,400i,700,700i"
|
||||||
|
rel="stylesheet"
|
||||||
|
/>
|
||||||
|
<style>
|
||||||
|
:root {
|
||||||
|
font-family: "Atkinson Hyperlegible", sans-serif;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<!-- otherwise, empty. -->
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>local doll repair</h1>
|
||||||
|
<p>▖▘▌▘▘▌▌▌▖▘</p>
|
||||||
|
<!-- otherwise, empty. -->
|
||||||
|
</body>
|
5
shell.nix
Normal file
5
shell.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{ pkgs ? import <nixpkgs> {} }: pkgs.mkShell {
|
||||||
|
buildInputs = with pkgs; [
|
||||||
|
nodePackages.serve
|
||||||
|
];
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue