{ "uuid": [ { "value": "4244bf7a-a4e2-46c9-a057-f09594a9544d" } ], "langcode": [ { "value": "en" } ], "type": [ { "target_id": "daily_email", "target_type": "node_type", "target_uuid": "8bde1f2f-eef9-4f2d-ae9c-96921f8193d7" } ], "revision_timestamp": [ { "value": "2025-04-16T14:12:57+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": "Managing dotfiles with Nix" } ], "created": [ { "value": "2024-11-29T00:00:00+00:00" } ], "changed": [ { "value": "2025-04-16T14:12:57+00:00" } ], "promote": [ { "value": false } ], "sticky": [ { "value": false } ], "default_langcode": [ { "value": true } ], "revision_translation_affected": [ { "value": true } ], "path": [ { "alias": "\/daily\/2024\/11\/29\/managing-dotfiles-with-nix", "langcode": "en" } ], "body": [ { "value": "\n

As well as Nix managing packages<\/a> and NixOS as your operating system<\/a>, you can use Nix to manage your user configuration and dotfiles.<\/p>\n\n

Enter, Home Manager.<\/p>\n\n

Home Manager is available as a module for NixOS and a standalone package for other Linux distributions and macOS.<\/p>\n\n

With it, you can install and configure programs for specific users and create and manage dotfiles such as .gitconfig, .tmux.conf and .zshrc instead of using a tool like Stow.<\/p>\n\n

There's also the extra benefit that you can write these files in the Nix language<\/a> and only focus on one configuration language.<\/p>\n\n

Nix and Home Manager will create the desired output file in whatever the program wants, whether it's JSON, ini, YAML or something else.<\/p>\n\n

A good example is my .gitconfig configuration<\/a>. It includes settings for Git itself, aliases, global excludes, adds extra packages such as git-instafix<\/a> and some environment variables.<\/p>\n\n

All in one file and all in one language.<\/p>\n\n ", "format": "full_html", "processed": "\n

As well as Nix managing packages<\/a> and NixOS as your operating system<\/a>, you can use Nix to manage your user configuration and dotfiles.<\/p>\n\n

Enter, Home Manager.<\/p>\n\n

Home Manager is available as a module for NixOS and a standalone package for other Linux distributions and macOS.<\/p>\n\n

With it, you can install and configure programs for specific users and create and manage dotfiles such as .gitconfig, .tmux.conf and .zshrc instead of using a tool like Stow.<\/p>\n\n

There's also the extra benefit that you can write these files in the Nix language<\/a> and only focus on one configuration language.<\/p>\n\n

Nix and Home Manager will create the desired output file in whatever the program wants, whether it's JSON, ini, YAML or something else.<\/p>\n\n

A good example is my .gitconfig configuration<\/a>. It includes settings for Git itself, aliases, global excludes, adds extra packages such as git-instafix<\/a> and some environment variables.<\/p>\n\n

All in one file and all in one language.<\/p>\n\n ", "summary": null } ], "feeds_item": [ { "imported": "2025-04-16T14:12:57+00:00", "guid": null, "hash": "202387767119e66e9546041b6d0f5f53", "target_type": "feeds_feed", "target_uuid": "90c85284-7ca8-4074-9178-97ff8384fe76" } ] }