Compare commits

..

3 Commits

Author SHA1 Message Date
e5d6bc0298 added title to template.html and 404.html 2024-11-01 15:07:16 -07:00
607c6d605d added lang tag to template.html and 404.html 2024-11-01 14:41:17 -07:00
55733a27e9 updated flake 2024-10-21 14:20:20 -07:00
3 changed files with 75 additions and 73 deletions

View File

@ -1,8 +1,8 @@
<!doctype html> <!doctype html>
<html> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>404 Not Found</title>
<style> <style>
:root { :root {
--foreground: #ffffff; --foreground: #ffffff;
@ -50,5 +50,4 @@
<h1>404</h1> <h1>404</h1>
<h3>Page Not Found</h3> <h3>Page Not Found</h3>
</body> </body>
</html> </html>

View File

@ -1,30 +1,32 @@
{ {
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
}; };
outputs = { self, nixpkgs, ... } @ inputs: outputs = { self, nixpkgs, flake-utils }:
let flake-utils.lib.eachDefaultSystem (system:
pkgs = nixpkgs.legacyPackages.x86_64-linux; let pkgs = nixpkgs.legacyPackages.${system};
in in with pkgs; {
{ devShells.default = mkShell {
devShells.x86_64-linux.default = pkgs.mkShell {
buildInputs = [ buildInputs = [
(pkgs.lua5_1.withPackages (ps: with ps; [ (lua5_3.withPackages (ps:
({ fetchFromGitHub, fetchurl }: with ps; [
ps.buildLuarocksPackage { (buildLuarocksPackage {
pname = "cmark"; pname = "cmark";
version = "0.30.2-1"; version = "0.30.2-1";
knownRockspec = (fetchurl { knownRockspec = (fetchurl {
url = "mirror://luarocks/cmark-0.30.2-1.rockspec"; url = "mirror://luarocks/cmark-0.30.2-1.rockspec";
sha256 = "077kvl9xa9yj0fxyyxxw43k9v9dgd5f11ax8hhxj3nx8vfs5rps8"; sha256 =
"077kvl9xa9yj0fxyyxxw43k9v9dgd5f11ax8hhxj3nx8vfs5rps8";
}).outPath; }).outPath;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jgm"; owner = "jgm";
repo = "cmark-lua"; repo = "cmark-lua";
rev = "0.30.2"; rev = "0.30.2";
hash = "sha256-6Bzq0FdyqXXiL6pLDRFbULFJpowF0P6CvAw8iqFXkkQ="; hash =
"sha256-6Bzq0FdyqXXiL6pLDRFbULFJpowF0P6CvAw8iqFXkkQ=";
}; };
}) })
luafilesystem luafilesystem
@ -34,5 +36,5 @@
])) ]))
]; ];
}; };
}; });
} }

View File

@ -1,9 +1,10 @@
<!doctype html> <!doctype html>
<html> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" /> <meta name="viewport" content="width=device-width" />
<link rel="stylesheet" type="text/css" href="style.css" /> <link rel="stylesheet" type="text/css" href="style.css" />
<title>bunbun.dev</title>
</head> </head>
<body> <body>