Another snippet

This commit is contained in:
Nox Sluijtman 2024-03-29 18:51:53 +01:00
parent 7dab7ab485
commit 01987decf8
4 changed files with 98 additions and 3 deletions

View file

@ -9,6 +9,7 @@ I think I'll let this largely be a collection of story snippets. Though I have t
# Things on this server.
=> stories.gmi a list of those stories
=> venom.gmi some venomous rants
I also happen to host two music streams on this machine. Usually, both of them are up.
=> https://radio.antimattercloud.nl Icecast interface

View file

@ -0,0 +1,27 @@
# Duel
And then it all came crashing down. Their whole life. Wren had spent an unimaginable amount of time working their dream, only to have it snatched away at the last moment. Their quickened perception forced them to bear witness to the bullet exiting his rapidly-collapsing skull. After what felt like an eternity, what was left of his head sank forward as blood and brain matter began to pour out through the sides. Instinct kicked in as they saw the red dot race to their head next. With one quick motion, they kicked over the solid metal table next to them while diving behind it. A loud clang followed as the bullet dug into the table, only to ricochet into the ceiling. The table nearly fell on its legs again, only be held upright by Wren.
"Why!"
Wren started frantically digging in their coat.
"Why did you have to die at this moment!"
A speed loader emerged from a pocket.
"You bastard! We were so close!"
A high caliber revolver emerged from a concealed holster. Wren poked their head out from the side of the table, only to have it be immediately answered by a muzzle flash from the building next to them. With an artificial jolt of adrenaline, they managed to pull their head back in just in time. The bullet hit the wooden floor, causing the panel to explode. Splinters shot out in all directions, some embedding themselves into the side of Wren's face, who was too high on adrenaline to feel any pain.
"At least I know where you are..."
With a few swift, deeply ingrained motions, the revolver was now loaded. Wren stuck their hand in their pocket again, exchanging the empty speed loader for a storm lighter.
"Lets see how how trigger happy you are..."
They ignited the lighter, moved over to the other side of the table and took a deep breath.
"Couldn't you have done anything?" They yelled at the now-slouched-over corpse of Briar.
They threw the lighter behind them, away from the table. A bullet hit the lighter before the sound of the rifle could reach Wren's ears. When it did, they jolted out from the other side of the table while aiming the revolver. As the red dot started to readjust to Wren's position, they returned fire. The first bullet missed, hitting an adjacent window. The red dot shot upwards in panic. The second bullet was answered by a soft thud from the shattered windows.
The silence that followed was deafening. The synthetic rain was all that could be heard now.

View file

@ -18,6 +18,24 @@
"type": "github"
}
},
"flake-utils_2": {
"inputs": {
"systems": "systems_2"
},
"locked": {
"lastModified": 1701680307,
"narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "4022d587cbbfd70fe950c1e2083a02621806a725",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1709961763,
@ -37,7 +55,8 @@
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
"nixpkgs": "nixpkgs",
"twin": "twin"
}
},
"systems": {
@ -54,6 +73,42 @@
"repo": "default",
"type": "github"
}
},
"systems_2": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"twin": {
"inputs": {
"flake-utils": "flake-utils_2",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1710093358,
"narHash": "sha256-8PwTX0HsXsjpPOm87cwNmyzdMp6eFSJHh6NjWOZTKEU=",
"ref": "refs/heads/main",
"rev": "1280e65031f6aa35b86c0235bdbe3ac5238fa177",
"revCount": 20,
"type": "git",
"url": "https://forge.antimattercloud.nl/Egg/twin"
},
"original": {
"type": "git",
"url": "https://forge.antimattercloud.nl/Egg/twin"
}
}
},
"root": "root",

View file

@ -2,17 +2,29 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
twin = {
url = "git+https://forge.antimattercloud.nl/Egg/twin";
inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, flake-utils}:
};
outputs = { self, nixpkgs, flake-utils, twin }:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = import nixpkgs { inherit system; };
in {
packages = {
antimatter = pkgs.stdenvNoCC.mkDerivation rec {
pname = "antigem";
version = "0.1";
version = "0.2";
src = ./antimattercloud;
nativeBuildInputs = [
twin.packages.${system}.default
];
buildPhase = ''
twin -d story-snippets -t Stories -nb '/' > stories.gmi
'';
installPhase = ''
mkdir -p $out/share/${pname}
cp -r . $out/share/${pname}