From 3ea8e0e7f321941a8219151a21b40cf91afa68a4 Mon Sep 17 00:00:00 2001 From: noe Date: Sat, 23 Mar 2024 16:25:14 -0400 Subject: [PATCH] initial --- flake.nix | 23 +++++++++++++++++++++++ index.html | 21 +++++++++++++++++++++ shell.nix | 5 +++++ 3 files changed, 49 insertions(+) create mode 100644 flake.nix create mode 100644 index.html create mode 100644 shell.nix diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..503de79 --- /dev/null +++ b/flake.nix @@ -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/ + ''; + }; + }; + }; +} \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..76c9c37 --- /dev/null +++ b/index.html @@ -0,0 +1,21 @@ + + + + Local Doll Repair + + + + + + +

local doll repair

+

▖▘▌▘▘▌▌▌▖▘

+ + diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..3ee9262 --- /dev/null +++ b/shell.nix @@ -0,0 +1,5 @@ +{ pkgs ? import {} }: pkgs.mkShell { + buildInputs = with pkgs; [ + nodePackages.serve + ]; +}