oliverdavies.uk/content/node.e7cc391d-fde3-4db8-9f1b-5a4b460cca29.yml

76 lines
3.4 KiB
YAML

uuid:
- value: e7cc391d-fde3-4db8-9f1b-5a4b460cca29
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: 'Nix as an operating system'
created:
- value: '2024-11-27T00: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/27/nix-as-an-operating-system
langcode: en
body:
- value: |
<p>Yesterday, <a href="/daily/2024/11/26/the-nix-language">I showed some of the Nix programming language</a> and how to use it to perform tasks such as installing and configuring packages.</p>
<p>I like this declarative approach as you know everything installed on your system and its configuration.</p>
<p><a href="/daily/2024/11/23/no-more-random-packages">There are no random or leftover packages or configuration files</a>.</p>
<p>The Nix package manager can be installed on Linux or macOS, but you can also use Nix to configure your whole operating system in a declarative way thanks to NixOS.</p>
<p>As well as installing and configuring packages, you can define your firmware version, boot loader, disk partitioning, user accounts and more.</p>
<p>I used to do this type of automation with Ansible but switched to NixOS soon after trying Nix on another Linux distribution.</p>
<p>If I need to work on a different laptop, like when mine recently died, I can apply the same configuration and get all the same programs and configurations as before.</p>
<p>If you want to see my current NixOS setup, you can <a href="https://github.com/opdavies/dotfiles">see it on my GitHub</a>.</p>
format: full_html
processed: |
<p>Yesterday, <a href="/daily/2024/11/26/the-nix-language">I showed some of the Nix programming language</a> and how to use it to perform tasks such as installing and configuring packages.</p>
<p>I like this declarative approach as you know everything installed on your system and its configuration.</p>
<p><a href="/daily/2024/11/23/no-more-random-packages">There are no random or leftover packages or configuration files</a>.</p>
<p>The Nix package manager can be installed on Linux or macOS, but you can also use Nix to configure your whole operating system in a declarative way thanks to NixOS.</p>
<p>As well as installing and configuring packages, you can define your firmware version, boot loader, disk partitioning, user accounts and more.</p>
<p>I used to do this type of automation with Ansible but switched to NixOS soon after trying Nix on another Linux distribution.</p>
<p>If I need to work on a different laptop, like when mine recently died, I can apply the same configuration and get all the same programs and configurations as before.</p>
<p>If you want to see my current NixOS setup, you can <a href="https://github.com/opdavies/dotfiles">see it on my GitHub</a>.</p>
summary: null
field_daily_email_cta: { }