Skip to content

Commit

Permalink
Add update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
D3vil0p3r committed Feb 2, 2024
1 parent 9576a0f commit a73e6bb
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export default defineConfig({
{ label: 'Installing as guest in QEMU/KVM', link: '/en/installation/install-guest-qemu' },
{ label: 'Installing as guest in Parallels', link: '/en/installation/install-guest-parallels' },
{ label: 'Installing as guest in UTM', link: '/en/installation/install-guest-utm' },
{ label: 'Updating Athena OS', link: '/en/installation/update-athena' },
],
},
{
Expand Down
22 changes: 22 additions & 0 deletions src/content/docs/en/installation/update-athena.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: Updating Athena OS
description: How to update Athena OS.
---
import ImageComponent from "@components/ImageComponent.astro";
import ThemedImage from '@components/ThemedImage.astro';

Being based on Nix, the update of Athena resources needs to update the nix channel.

## Update Athena OS

The update process requires the update of nix channel by:
```
sudo nix-channel --update
```
This command allows the system to retrieve all the latest information about the Nix packages from Nix repository. Finally, run:
```
sudo nixos-rebuild switch
```
to update the system.

<ImageComponent />

0 comments on commit a73e6bb

Please sign in to comment.