65 lines
3.1 KiB
YAML
65 lines
3.1 KiB
YAML
uuid:
|
|
- value: fb950c25-8deb-439d-a5c8-1a24b64cd5be
|
|
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:46+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, NixOS, Home Manager, and WSL2
|
|
created:
|
|
- value: '2023-04-09T00:00:00+00:00'
|
|
changed:
|
|
- value: '2025-05-11T09:00:46+00:00'
|
|
promote:
|
|
- value: false
|
|
sticky:
|
|
- value: false
|
|
default_langcode:
|
|
- value: true
|
|
revision_translation_affected:
|
|
- value: true
|
|
path:
|
|
- alias: /daily/2023/04/09/nix-nixos-home-manager-and-wsl2
|
|
langcode: en
|
|
body:
|
|
- value: |
|
|
<p>Although I've been using Linux for work computers for a lot longer, a few years ago, I switched from macOS and an Apple MacBook Pro to using Linux full-time on my personal computers.</p>
|
|
|
|
<p>My current daily driver laptop is a Tuxedo InfinityBook that I've installed NixOS on.</p>
|
|
|
|
<p>NixOS, as the name suggests, is a Linux operating system based on the Nix package manager. It has access to the 80,000+ packages in the <code>nixpkgs</code> repository and can still install and manage them, but also does a lot more including managing hardware.</p>
|
|
|
|
<p>For user-level configuration, I use Home Manager. I can configure my home directory including user-specific packages and manage my dotfiles, creating files like <code>.gitconfig</code> and linking them to the required destination.</p>
|
|
|
|
<p>Home Manager can be a NixOS module or a standalone tool - it can be added to NixOS or installed on any Linux distribution, even in WSL2, so I have the same packages that I need installed on every machine as well as having my dotfiles in the correct place and ready to be used.</p>
|
|
|
|
|
|
format: full_html
|
|
processed: |
|
|
<p>Although I've been using Linux for work computers for a lot longer, a few years ago, I switched from macOS and an Apple MacBook Pro to using Linux full-time on my personal computers.</p>
|
|
|
|
<p>My current daily driver laptop is a Tuxedo InfinityBook that I've installed NixOS on.</p>
|
|
|
|
<p>NixOS, as the name suggests, is a Linux operating system based on the Nix package manager. It has access to the 80,000+ packages in the <code>nixpkgs</code> repository and can still install and manage them, but also does a lot more including managing hardware.</p>
|
|
|
|
<p>For user-level configuration, I use Home Manager. I can configure my home directory including user-specific packages and manage my dotfiles, creating files like <code>.gitconfig</code> and linking them to the required destination.</p>
|
|
|
|
<p>Home Manager can be a NixOS module or a standalone tool - it can be added to NixOS or installed on any Linux distribution, even in WSL2, so I have the same packages that I need installed on every machine as well as having my dotfiles in the correct place and ready to be used.</p>
|
|
|
|
|
|
summary: null
|
|
field_daily_email_cta: { }
|