update readme
This commit is contained in:
parent
3b0d13b6cd
commit
3b3b9ed434
|
@ -55,7 +55,8 @@ OLD (EXPAND)
|
|||
|
||||
- [flake.nix](flake.nix) base of the configuration
|
||||
- [hosts](hosts) 🌳 per-host configurations that contain machine specific configurations
|
||||
- [nixos](hosts/nixos/) 🖥️ Default host
|
||||
- [desktop](hosts/desktop/) 🖥️ Desktop specific configuration
|
||||
- [laptop](hosts/laptop/) 🖥️ Laptop specific configuration
|
||||
- [modules](modules) 🍱 modularized NixOS configurations
|
||||
- [core](modules/core/) ⚙️ Core NixOS configuration
|
||||
- [homes](modules/home/) 🏠 my [Home-Manager](https://github.com/nix-community/home-manager) config
|
||||
|
@ -115,10 +116,12 @@ Utils (EXPAND)
|
|||
Nixos (EXPAND)
|
||||
</summary>
|
||||
|
||||
> ${host} is either `desktop` or `laptop`
|
||||
|
||||
- ```cdnix``` $\rightarrow$ ```cd ~/nixos-config && codium ~/nixos-config```
|
||||
- ```ns``` $\rightarrow$ ```nix-shell --run zsh```
|
||||
- ```nix-switch``` $\rightarrow$ ```sudo nixos-rebuild switch --flake ~/nixos-config#nixos```
|
||||
- ```nix-switchu``` $\rightarrow$ ```sudo nixos-rebuild switch --upgrade --flake ~/nixos-config#nixos```
|
||||
- ```nix-switch``` $\rightarrow$ ```sudo nixos-rebuild switch --flake ~/nixos-config#${host}```
|
||||
- ```nix-switchu``` $\rightarrow$ ```sudo nixos-rebuild switch --upgrade --flake ~/nixos-config#${host}```
|
||||
- ```nix-flake-update``` $\rightarrow$ ```sudo nix flake update ~/nixos-config#```
|
||||
- ```nix-clean``` $\rightarrow$ ```sudo nix-collect-garbage && sudo nix-collect-garbage -d && sudo rm /nix/var/nix/gcroots/auto/* && nix-collect-garbage && nix-collect-garbage -d```
|
||||
</details>
|
||||
|
|
Loading…
Reference in a new issue