init
This commit is contained in:
commit
0e79899546
8 changed files with 229 additions and 0 deletions
21
contact.html
Normal file
21
contact.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title> Contact | Andromeda's Blog </title>
|
||||
<link rel="stylesheet" type="text/css" href="/styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<h2>
|
||||
<a href="/index.html">Andromeda's blog</a> | <a href="https://git.mtgmonkey.net/Andromeda">git</a> | <a href="/contact.html">contact</a>
|
||||
</h2>
|
||||
|
||||
<h1>Contact</h1>
|
||||
|
||||
<ul>
|
||||
<li><a href="https://chat.mtgmonkey.net">My chat platform</a> @Andromeda#5192</li>
|
||||
<li>Matrix @mtgmonkey:calitabby.net</li>
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
</html>
|
21
daily/2025-06-07.html
Normal file
21
daily/2025-06-07.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title> init post | 2025-06-07 | Andromeda's Blog </title>
|
||||
<link rel="stylesheet" type="text/css" href="/styles.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h2><a href="/index.html">Andromeda's blog</a> | <a href="https://git.mtgmonkey.net/Andromeda">git</a> | <a href="/contact.html">contact</a></h2>
|
||||
|
||||
<h1>init post</h1>
|
||||
|
||||
<p>This is my first daily message, posted in the afternoon rather than the morning. In the future, all of these will be posted when I wake up.</p>
|
||||
|
||||
<p>Let's do some about me.</p>
|
||||
|
||||
<p>I use NixOS with limine, ly, xmonad, qutebrowser, and nvf on the day-to-day. I program in haskell, elm, nix, and rust. Functional programming for the win! My vps is also NixOS, and it's so convenient to share my home-manager config between the two!</p>
|
||||
|
||||
</body>
|
||||
</html>
|
60
flake.lock
generated
Normal file
60
flake.lock
generated
Normal file
|
@ -0,0 +1,60 @@
|
|||
{
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1750134718,
|
||||
"narHash": "sha256-v263g4GbxXv87hMXMCpjkIxd/viIF7p3JpJrwgKdNiI=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "9e83b64f727c88a7711a2c463a7b16eedb69a84c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"id": "nixpkgs",
|
||||
"ref": "nixos-unstable",
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1749794982,
|
||||
"narHash": "sha256-Kh9K4taXbVuaLC0IL+9HcfvxsSUx8dPB5s5weJcc9pc=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "ee930f9755f58096ac6e8ca94a1887e0534e2d81",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"id": "nixpkgs",
|
||||
"ref": "nixos-unstable",
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs",
|
||||
"rust-http-server": "rust-http-server"
|
||||
}
|
||||
},
|
||||
"rust-http-server": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1750103311,
|
||||
"narHash": "sha256-aefZc/S5xu26OeNjUXA9whnAK9D7lWejqrqQ2xfPw+U=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "02acb04f650b494de1dfb78474bf7e397e0f2995",
|
||||
"revCount": 1,
|
||||
"type": "git",
|
||||
"url": "https://git.mtgmonkey.net/Andromeda/rust-http-server.git"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://git.mtgmonkey.net/Andromeda/rust-http-server.git"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
17
flake.nix
Normal file
17
flake.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||
rust-http-server.url = "git+https://git.mtgmonkey.net/Andromeda/rust-http-server.git";
|
||||
};
|
||||
outputs = {
|
||||
nixpkgs,
|
||||
rust-http-server,
|
||||
...
|
||||
}: let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
packages.${system}.default = pkgs.callPackage ./package.nix {inherit rust-http-server;};
|
||||
# nixosModules.${system}.default = ./module.nix;
|
||||
};
|
||||
}
|
33
index.html
Normal file
33
index.html
Normal file
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title> Home | Andromeda's Blog </title>
|
||||
<link rel="stylesheet" type="text/css" href="/styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Andromeda's Blog</h1>
|
||||
|
||||
<p>Welcome to my blog, written entirely in HTML and CSS - No Javascript in site! If you want some JS, try <a href="https://mtgmonkey.net">my hobby website</a>.</p>
|
||||
|
||||
<h2>Daily posts</h2>
|
||||
|
||||
<p>I try to post every day, but I may sometimes forget. Check my <a href="https://git.mtgmonkey.net/Andromeda">git</a> if you want to see what I'm up to in real time.</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="./daily/2025-06-07.html">2025-06-07 - init post</a></li>
|
||||
</ul>
|
||||
|
||||
<h2>My Sites and Services</h2>
|
||||
|
||||
<p>I host a variety of services - let me know if I should add more!</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="https://mtgmonkey.net">my pet site</a></li>
|
||||
<li><a href="https://blog.mtgmonkey.net">my blog</a></li>
|
||||
<li><a href="https://git.mtgmonkey.net">forgejo</a></li>
|
||||
<li><a href="https://translate.mtgmonkey.net">libretranslate</a></li>
|
||||
<li><a href="https://chat.mtgmonkey.net">Jank Client fork (Spacebar instance)</a></li>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
28
package.nix
Normal file
28
package.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
rust-http-server,
|
||||
...
|
||||
}:
|
||||
stdenv.mkDerivation {
|
||||
name = "best-blog";
|
||||
src = ./.;
|
||||
nativeBuildInputs = [];
|
||||
buildInputs = [rust-http-server.packages.x86_64-linux.default];
|
||||
configurePhase = '''';
|
||||
buildPhase = '''';
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp -r ./* $out/
|
||||
echo "#!/usr/bin/env bash" > bestblog
|
||||
echo "cd $(echo $out)/src/" >> bestblog
|
||||
echo "${lib.getExe rust-http-server.packages.x86_64-linux.default} --port 9345" >> bestblog
|
||||
chmod a+x bestblog
|
||||
cp bestblog $out/bin/bestblog
|
||||
'';
|
||||
meta = {
|
||||
mainProgram = "bestblog";
|
||||
description = "bare minimum blog";
|
||||
homepage = "https://mtgmonkey.net";
|
||||
};
|
||||
}
|
19
styles.css
Normal file
19
styles.css
Normal file
|
@ -0,0 +1,19 @@
|
|||
body {
|
||||
background-color: #380E36;
|
||||
color: #F7E5F4;
|
||||
line-height: 1.6;
|
||||
font-size: 19px;
|
||||
width: 750px;
|
||||
margin: auto;
|
||||
margin-top: 100px;
|
||||
}
|
||||
ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
a {
|
||||
color: #5A77F2
|
||||
}
|
||||
pre {
|
||||
background-color: #5E1C56;
|
||||
white-space: pre-wrap;
|
||||
}
|
30
templates/base.html
Normal file
30
templates/base.html
Normal file
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title> Template | Andromeda's Blog </title>
|
||||
<link rel="stylesheet" type="text/css" href="/styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<h2>
|
||||
<a href="/index.html">Andromeda's blog</a> | <a href="https://git.mtgmonkey.net/Andromeda">git</a> | <a href="/contact.html">contact</a>
|
||||
</h2>
|
||||
|
||||
<h1>Template</h1>
|
||||
|
||||
<p>This is a template page. Here is <a href="https://mtgmonkey.net">my hobby website</a>.</p>
|
||||
|
||||
<h2>My Sites and Services</h2>
|
||||
|
||||
<p>I host a variety of services - let me know if I should add more!</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="https://mtgmonkey.net">my pet site</a></li>
|
||||
<li><a href="https://blog.mtgmonkey.net">my blog</a></li>
|
||||
<li><a href="https://git.mtgmonkey.net">rgit</a></li>
|
||||
<li><a href="https://translate.mtgmonkey.net">libretranslate</a></li>
|
||||
<li><a href="https://chat.mtgmonkey.net">Jank Client fork (Spacebar instance)</a></li>
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue