-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 /> |