Moving over to readme.org from .md
This commit is contained in:
parent
de4666526d
commit
178b71c285
|
@ -4,16 +4,16 @@
|
|||
* My NixOS Configuraton File
|
||||
This is my NixOS setup to manage multiple computers with a home-manager config structure using nix flakes.
|
||||
|
||||
* Current Desktop Screenshot
|
||||
** Current Desktop Screenshot
|
||||
[[Gnome][https://git.disroot.org/Zonsopkomst/flake/raw/branch/working/reference/assets/2023-09-21_09-18.png]]
|
||||
*Gnome*
|
||||
*Gnome*
|
||||
|
||||
** Highlights:
|
||||
* Multiple NixOS configurations: desktop, laptop, and hopefully a test server and eventually a full transition over from my Ubuntu server.
|
||||
|
||||
** How to
|
||||
[[Process][https://git.disroot.org/Zonsopkomst/flake/raw/branch/working/reference/assets/underpants-gnomes.png]]
|
||||
*Source: South Park*
|
||||
*Source: South Park*
|
||||
|
||||
1. NixOS Installation
|
||||
1. Install NixOS on a computer using the default Gnome installer from https://nixos.org/download.html.
|
||||
|
@ -26,17 +26,16 @@ This is my NixOS setup to manage multiple computers with a home-manager config s
|
|||
2. `flake.nix` is where `.nix` files are imported with further instructions on declared packages and modules.
|
||||
1. Declare packages either globally under `/hosts/<location>/hostname/packages.nix` or `/users/<username>/home-manager.nix`.
|
||||
3. Rebuild NixOS *(<hostname> must be include the first time rebuilding, after the first rebuild, .# can be used and the system will know which hostname is to be used)*
|
||||
1. ~~nix-channel --update~~ *May no longer be neccessary due to using a flake - need to look into further*
|
||||
2. `nix flake --update && nixos-rebuild switch --flake .#<hostname>`
|
||||
1. `nix flake --update && nixos-rebuild switch --flake .#<hostname>`
|
||||
4. Push the updated git files to the repository so that they can be pulled, and the system rebuilt during the next update.
|
||||
|
||||
*** Maintenance
|
||||
1. See `/config/.bashrc` for `alias`: `flkup` using `sudo nixos-rebuild switch --flake .#<hostname>` commands and other useful items
|
||||
|
||||
*** Sources
|
||||
* [[nix flakes][https://nixos.wiki/wiki/Flakes]]
|
||||
* [[home-manager][https://github.com/nix-community/home-manager]]
|
||||
* [Home Manager as a NixOS Module](https://nix-community.github.io/home-manager/index.html#sec-flakes-nixos-module)
|
||||
**** [[nix flakes][https://nixos.wiki/wiki/Flakes]]
|
||||
**** [[home-manager][https://github.com/nix-community/home-manager]]
|
||||
***** [Home Manager as a NixOS Module](https://nix-community.github.io/home-manager/index.html#sec-flakes-nixos-module)
|
||||
|
||||
|
||||
** Structure
|
||||
|
@ -51,12 +50,12 @@ This is my NixOS setup to manage multiple computers with a home-manager config s
|
|||
| flake.nix & flake.lock | Declared configuration using the above directories & configs |
|
||||
|
||||
** Hosts
|
||||
| Hostname | Model | Type | RAM | Processor | Main Use |
|
||||
| Hostname | Model | Type | RAM | Processor | Main Use |
|
||||
| weda | Dell Inspiron 15 | Laptop | 16GB | AMD Ryzen 5 (Cezanne) | Business |
|
||||
| frija | Acer Aspire 3 | Laptop | 4GB | AMD A9 | Testing |
|
||||
| frija | Acer Aspire 3 | Laptop | 4GB | AMD A9 | Testing |
|
||||
| tyr | Intel i5 | Desktop | 16GB | Intel i5 | Media |
|
||||
| tii | Dell Lattitude 5511 | Laptop | 16GB | Intel i5 Quad (i5-10400H) | Remote |
|
||||
| tuisto | AMD Ryzen 5 | Desktop | 16GB | AMD Ryzen 5 (Renoir) | Remote |
|
||||
| sintanne | Intel i5 | Desktop | 16GB | Intel i5-11320H | Remote |
|
||||
| TODO | AMD Ryzen 5 | Server | ??GB | AMD 2200G | Test Server |
|
||||
| TODO | AMD Ryzen 5 | Server | ??GB | AMD 2200G | Main Server |
|
||||
| TODO | AMD Ryzen 5 | Server | ??GB | AMD 2200G | Main Server |
|
Loading…
Reference in New Issue