Added packages guide

Tibo De Peuter 2023-03-24 22:37:47 +01:00
parent 866ee418a6
commit 6be53b8594

@ -1,3 +1,5 @@
# Installing NixOS
I used [this guide](https://nixos.wiki/wiki/Wil_T_Nix_Guides) so it should be straightforward for you too. I used [this guide](https://nixos.wiki/wiki/Wil_T_Nix_Guides) so it should be straightforward for you too.
``` ```
@ -17,7 +19,7 @@ swapon /dev/disk/by-label/SWAP
``` ```
<details> <details>
<summary>If you do not have an existing configuration repository.</summary> <summary>If you do not have an existing configuration repository.</summary>
``` ```
git init git init
@ -34,7 +36,7 @@ secrets/** filter=git-crypt diff=git-crypt
</details> </details>
<details> <details>
<summary>If you have a repository and you want to 'clone' an existing machine using flakes.</summary> <summary>If you have a repository and you want to 'clone' an existing machine using flakes.</summary>
Clone your repository and go inside the folder containing the `flake.nix` file. Clone your repository and go inside the folder containing the `flake.nix` file.
@ -49,3 +51,8 @@ nixos-install --flake https://<url_to_your_repo>#<hostname>
``` ```
</details> </details>
# Installing packages
User packages still need to be installed. Run [this script](https://git.depeuter.dev/tdpeuter/sisyphus/src/commit/1105a772fdcc7b4d7cb5534f3befda6a31e1e28d/nixos/apply-users.sh) if you're using home manager.