100 lines
No EOL
4.7 KiB
JSON
100 lines
No EOL
4.7 KiB
JSON
{
|
|
"uuid": [
|
|
{
|
|
"value": "0cc877ae-0361-456e-be2c-73c322fe1780"
|
|
}
|
|
],
|
|
"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:04+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": "One configuration language to rule them all"
|
|
}
|
|
],
|
|
"created": [
|
|
{
|
|
"value": "2024-11-21T00:00:00+00:00"
|
|
}
|
|
],
|
|
"changed": [
|
|
{
|
|
"value": "2025-05-11T09:00:04+00:00"
|
|
}
|
|
],
|
|
"promote": [
|
|
{
|
|
"value": false
|
|
}
|
|
],
|
|
"sticky": [
|
|
{
|
|
"value": false
|
|
}
|
|
],
|
|
"default_langcode": [
|
|
{
|
|
"value": true
|
|
}
|
|
],
|
|
"revision_translation_affected": [
|
|
{
|
|
"value": true
|
|
}
|
|
],
|
|
"path": [
|
|
{
|
|
"alias": "\/daily\/2024\/11\/21\/one-configuration-language-to-rule-them-all",
|
|
"langcode": "en"
|
|
}
|
|
],
|
|
"body": [
|
|
{
|
|
"value": "\n <p>I started using the Nix package manager <a href=\"https:\/\/github.com\/opdavies\/dotfiles.nix\/commit\/af1d8d37\">in September 2022<\/a> as a replacement for Ansible.<\/p>\n\n<p>Since then, I've switched to daily-driving NixOS as my main operating system and Home Manager to manage my dotfiles (configuration files for managing application settings, like Neovim, tmux and Alacritty).<\/p>\n\n<p>A benefit I didn't initially think of was that now I can write all my configuration files in the Nix language.<\/p>\n\n<p>I don't need to write YAML, TOML, INI or JSON configuration files. Nix and Home Manager will convert it for me.<\/p>\n\n<p>For example, see <a href=\"https:\/\/github.com\/opdavies\/dotfiles\/blob\/172b7c9ca61d2dd6ffdc967af9102b1ca24edd81\/nix\/modules\/home-manager\/git.nix#L25\">my Git configuration written in Nix<\/a> which is converted and written to .gitignore.<\/p>\n\n<p>And, if there isn't a built-in module for what I need, there are functions like <code>toJSON<\/code> that will convert Nix code to JSON that I can write to a file.<\/p>\n\n<p>This is also great if a program changes its configuration file language, which Alacritty did recently.<\/p>\n\n<p>They changed from YAML to TOML and I didn't need to change anything.<\/p>\n\n<p>Nix has become my one configuration language to rule them all.<\/p>\n\n ",
|
|
"format": "full_html",
|
|
"processed": "\n <p>I started using the Nix package manager <a href=\"https:\/\/github.com\/opdavies\/dotfiles.nix\/commit\/af1d8d37\">in September 2022<\/a> as a replacement for Ansible.<\/p>\n\n<p>Since then, I've switched to daily-driving NixOS as my main operating system and Home Manager to manage my dotfiles (configuration files for managing application settings, like Neovim, tmux and Alacritty).<\/p>\n\n<p>A benefit I didn't initially think of was that now I can write all my configuration files in the Nix language.<\/p>\n\n<p>I don't need to write YAML, TOML, INI or JSON configuration files. Nix and Home Manager will convert it for me.<\/p>\n\n<p>For example, see <a href=\"https:\/\/github.com\/opdavies\/dotfiles\/blob\/172b7c9ca61d2dd6ffdc967af9102b1ca24edd81\/nix\/modules\/home-manager\/git.nix#L25\">my Git configuration written in Nix<\/a> which is converted and written to .gitignore.<\/p>\n\n<p>And, if there isn't a built-in module for what I need, there are functions like <code>toJSON<\/code> that will convert Nix code to JSON that I can write to a file.<\/p>\n\n<p>This is also great if a program changes its configuration file language, which Alacritty did recently.<\/p>\n\n<p>They changed from YAML to TOML and I didn't need to change anything.<\/p>\n\n<p>Nix has become my one configuration language to rule them all.<\/p>\n\n ",
|
|
"summary": null
|
|
}
|
|
],
|
|
"feeds_item": [
|
|
{
|
|
"imported": "1970-01-01T00:33:45+00:00",
|
|
"guid": null,
|
|
"hash": "afe58adbc88026446b4472112f8ea2a7",
|
|
"target_type": "feeds_feed",
|
|
"target_uuid": "90c85284-7ca8-4074-9178-97ff8384fe76"
|
|
}
|
|
]
|
|
} |