tome export

This commit is contained in:
Oliver Davies 2025-05-11 09:40:11 +01:00
parent 328502c279
commit ac1484b1e0
5044 changed files with 111225 additions and 224219 deletions

View file

@ -0,0 +1,100 @@
{
"uuid": [
{
"value": "fe080d63-d163-4e3f-9efc-4ec3c8f9c03c"
}
],
"langcode": [
{
"value": "en"
}
],
"type": [
{
"target_id": "daily_email",
"target_type": "node_type",
"target_uuid": "8bde1f2f-eef9-4f2d-ae9c-96921f8193d7"
}
],
"revision_timestamp": [
{
"value": "2025-05-11T09:00:03+00:00"
}
],
"revision_uid": [
{
"target_type": "user",
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
}
],
"revision_log": [],
"status": [
{
"value": true
}
],
"uid": [
{
"target_type": "user",
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
}
],
"title": [
{
"value": "Notes on Nix"
}
],
"created": [
{
"value": "2024-12-15T00:00:00+00:00"
}
],
"changed": [
{
"value": "2025-05-11T09:00:03+00:00"
}
],
"promote": [
{
"value": false
}
],
"sticky": [
{
"value": false
}
],
"default_langcode": [
{
"value": true
}
],
"revision_translation_affected": [
{
"value": true
}
],
"path": [
{
"alias": "\/daily\/2024\/12\/15\/notes-on-nix",
"langcode": "en"
}
],
"body": [
{
"value": "\n <p>After writing about <a href=\"https:\/\/www.oliverdavies.uk\/daily\/2024\/11\/10\/write-plain-text-files\">making notes in text files<\/a>, I came across <a href=\"https:\/\/youtu.be\/NasPBjSev88?si=nSaCxdtXuznQ_YYb\">a video by Nick Janetakis<\/a> (previous <a href=\"https:\/\/www.oliverdavies.uk\/podcast\/12-nick-janetakis-docker\">Beyond Blocks podcast guest<\/a>), showing a simple Bash application he'd written to manage his own plain text notes.<\/p>\n\n<p>I thought I'd try it, but it wasn't available in the nixpkgs store so I wasn't able to install it.<\/p>\n\n<p>Some of the Vim and Neovim plugins I use also aren't available and I've added those to my configuration myself and wanted to do the same for this.<\/p>\n\n<p>Here's the Nix derivation I wrote:<\/p>\n\n<pre><code class=\"nix\">{ pkgs, ... }:\n\npkgs.stdenv.mkDerivation rec {\n pname = \"notes\";\n version = \"0.3.0\";\n\n src = pkgs.fetchFromGitHub {\n owner = \"nickjj\";\n repo = \"notes\";\n rev = \"v${version}\";\n sha256 = \"gyrsTWPT8w4DsRim3jlbjvpXwX\/y+7SwLaM+3LVOJdU=\";\n };\n\n buildInputs = with pkgs; [ bash ];\n\n installPhase = ''\n mkdir -p $out\/bin\n cp $src\/notes $out\/bin\/notes\n chmod +x $out\/bin\/notes\n '';\n}\n<\/code><\/pre>\n\n<p>I defined the GitHub repository name and owner, the version number and the required installation steps, and was able to add it to my configuration for use in NixOS and Home Manager.<\/p>\n\n<p>Now, I can type <code>notes<\/code> and easily capture whatever I wanted to document in the appropriate text file..<\/p>\n\n<hr \/>\n\n<p>FYI, there is an existing <code>notes<\/code> program in nixpkgs, but I overwrote it with Nick's, which is another great thing about using Nix!<\/p>\n\n ",
"format": "full_html",
"processed": "\n <p>After writing about <a href=\"https:\/\/www.oliverdavies.uk\/daily\/2024\/11\/10\/write-plain-text-files\">making notes in text files<\/a>, I came across <a href=\"https:\/\/youtu.be\/NasPBjSev88?si=nSaCxdtXuznQ_YYb\">a video by Nick Janetakis<\/a> (previous <a href=\"https:\/\/www.oliverdavies.uk\/podcast\/12-nick-janetakis-docker\">Beyond Blocks podcast guest<\/a>), showing a simple Bash application he'd written to manage his own plain text notes.<\/p>\n\n<p>I thought I'd try it, but it wasn't available in the nixpkgs store so I wasn't able to install it.<\/p>\n\n<p>Some of the Vim and Neovim plugins I use also aren't available and I've added those to my configuration myself and wanted to do the same for this.<\/p>\n\n<p>Here's the Nix derivation I wrote:<\/p>\n\n<pre><code class=\"nix\">{ pkgs, ... }:\n\npkgs.stdenv.mkDerivation rec {\n pname = \"notes\";\n version = \"0.3.0\";\n\n src = pkgs.fetchFromGitHub {\n owner = \"nickjj\";\n repo = \"notes\";\n rev = \"v${version}\";\n sha256 = \"gyrsTWPT8w4DsRim3jlbjvpXwX\/y+7SwLaM+3LVOJdU=\";\n };\n\n buildInputs = with pkgs; [ bash ];\n\n installPhase = ''\n mkdir -p $out\/bin\n cp $src\/notes $out\/bin\/notes\n chmod +x $out\/bin\/notes\n '';\n}\n<\/code><\/pre>\n\n<p>I defined the GitHub repository name and owner, the version number and the required installation steps, and was able to add it to my configuration for use in NixOS and Home Manager.<\/p>\n\n<p>Now, I can type <code>notes<\/code> and easily capture whatever I wanted to document in the appropriate text file..<\/p>\n\n<hr>\n\n<p>FYI, there is an existing <code>notes<\/code> program in nixpkgs, but I overwrote it with Nick's, which is another great thing about using Nix!<\/p>\n\n ",
"summary": null
}
],
"feeds_item": [
{
"imported": "2025-05-11T09:00:03+00:00",
"guid": null,
"hash": "3a10f1e0d9065c216ecf8696911485c8",
"target_type": "feeds_feed",
"target_uuid": "90c85284-7ca8-4074-9178-97ff8384fe76"
}
]
}