oliverdavies.uk/content/node.d613376e-133d-4730-86f1-70661d24c7ff.yml

68 lines
3.3 KiB
YAML

uuid:
- value: d613376e-133d-4730-86f1-70661d24c7ff
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: 'Running NixOS in the Cloud'
created:
- value: '2024-11-28T00: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/28/running-nixos-in-the-cloud
langcode: en
body:
- value: |
<p>Yesterday I explained that Nix, or specifically NixOS, <a href="/daily/2024/11/27/nix-as-an-operating-system">can be used to manage your entire operating system</a> in a declarative and reproducible way.</p>
<p>My initial experience was running it on my laptop as a replacement for another Linux distribution, which I use to configure everything about my laptop and development environment, including my i3 window manager, Neovim and tmux configurations.</p>
<p>I recently also started to use it on a new VPS to host several static websites, including this one and <a href="/blog/uis-ive-rebuilt-tailwind-css">various examples I've created as demos</a> or for presentations.</p>
<p>Similarly to my laptop, I was able to declaratively install any required utilities, enable the Nginx web server, open firewall ports, add my virtual hosts and create and apply the required SSL certificates.</p>
<p>And I can do this locally using <a href="https://github.com/opdavies/dotfiles/tree/ec2767adfb6667184f884080a4f9b5d2a388a03d/nix/hosts/hetznix">the same NixOS configuration files</a> and applying it to the remote server.</p>
<p>Now I'm running NixOS everywhere!</p>
format: full_html
processed: |
<p>Yesterday I explained that Nix, or specifically NixOS, <a href="http://default/daily/2024/11/27/nix-as-an-operating-system">can be used to manage your entire operating system</a> in a declarative and reproducible way.</p>
<p>My initial experience was running it on my laptop as a replacement for another Linux distribution, which I use to configure everything about my laptop and development environment, including my i3 window manager, Neovim and tmux configurations.</p>
<p>I recently also started to use it on a new VPS to host several static websites, including this one and <a href="http://default/blog/uis-ive-rebuilt-tailwind-css">various examples I've created as demos</a> or for presentations.</p>
<p>Similarly to my laptop, I was able to declaratively install any required utilities, enable the Nginx web server, open firewall ports, add my virtual hosts and create and apply the required SSL certificates.</p>
<p>And I can do this locally using <a href="https://github.com/opdavies/dotfiles/tree/ec2767adfb6667184f884080a4f9b5d2a388a03d/nix/hosts/hetznix">the same NixOS configuration files</a> and applying it to the remote server.</p>
<p>Now I'm running NixOS everywhere!</p>
summary: null
field_daily_email_cta: { }