commit fc489e80f074464802fff4d4bb2319aa786661ea Author: Mohammad Rafiq Date: Mon Jun 23 19:30:28 2025 +0800 build: init static site at 0.0.1 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b2be92b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +result diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..ae22cb4 --- /dev/null +++ b/default.nix @@ -0,0 +1,12 @@ +{ stdenv, ... }: +let + name = "rrv.sh"; + version = "0.0.1"; +in +stdenv.mkDerivation { + inherit name version; + src = ./src; + installPhase = '' + cp -r . $out + ''; +} diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..ea69066 --- /dev/null +++ b/flake.lock @@ -0,0 +1,43 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1750506804, + "narHash": "sha256-VLFNc4egNjovYVxDGyBYTrvVCgDYgENp5bVi9fPTDYc=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "4206c4cb56751df534751b058295ea61357bbbaa", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs", + "systems": "systems" + } + }, + "systems": { + "locked": { + "lastModified": 1689347949, + "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", + "owner": "nix-systems", + "repo": "default-linux", + "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default-linux", + "type": "github" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..6ce1919 --- /dev/null +++ b/flake.nix @@ -0,0 +1,21 @@ +{ + inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + inputs.systems.url = "github:nix-systems/default-linux"; + outputs = + inputs: + let + inherit (inputs.nixpkgs) lib legacyPackages; + forEachSystem = lib.genAttrs (import inputs.systems); + in + { + packages = forEachSystem ( + system: + let + pkgs = legacyPackages.${system}; + in + { + default = pkgs.callPackage ./default.nix { }; + } + ); + }; +} diff --git a/src/favicon.ico b/src/favicon.ico new file mode 100644 index 0000000..57499ca Binary files /dev/null and b/src/favicon.ico differ diff --git a/src/index.html b/src/index.html new file mode 100644 index 0000000..cf567af --- /dev/null +++ b/src/index.html @@ -0,0 +1,10 @@ + + + + rrv.sh + + + +

hi

+ +