refactor (fix typo)

This commit is contained in:
Daniel Langbein 2023-08-22 14:30:39 +02:00
parent b98c1855ac
commit 72cf276353
5 changed files with 8 additions and 6 deletions

View File

@ -1,6 +1,6 @@
# NixOS # NixOS
* There is controversy about flakes, rather use channels (e.g. with niv) For each machine, there is a top-level directory, e.g. [yodaTab](yodaTab).
## Build and Switch ## Build and Switch
@ -9,7 +9,7 @@
Directly change to new config, make it default: Directly change to new config, make it default:
```shell ```shell
sudo nixos-rebuild -I nixos-config=yodaTux/configuration.nix switch sudo nixos-rebuild -I nixos-config=yodaTab/configuration.nix switch
``` ```
## System updates ## System updates
@ -24,9 +24,9 @@ sudo nix-channel --update
# The -s param does currently not work for both, .nix and .json file. # The -s param does currently not work for both, .nix and .json file.
# Workaround: https://github.com/nmattia/niv/pull/133#issuecomment-703322261 # Workaround: https://github.com/nmattia/niv/pull/133#issuecomment-703322261
# #
#niv --sources-file=yodaTux/nix/sources.json update #niv --sources-file=yodaTab/nix/sources.json update
# #
(cd yodaTux && niv update) (cd yodaTab && niv update)
``` ```
Then run `nixos-rebuild switch`, see above. Then run `nixos-rebuild switch`, see above.
@ -68,7 +68,7 @@ sudo nix-channel --list
Use the corresponding branch: Use the corresponding branch:
```shell ```shell
(cd yodaTux && niv add nix-community/home-manager -n home-manager -b release-23.05) (cd yodaTab && niv add nix-community/home-manager -n home-manager -b release-23.05)
``` ```
## disko and nixos-anywhere ## disko and nixos-anywhere
@ -88,7 +88,7 @@ Use the corresponding branch:
* Re-generate hardware configuration: * Re-generate hardware configuration:
```shell ```shell
sudo nixos-generate-config --dir yodaTux sudo nixos-generate-config --dir yodaTab
``` ```
## GNOME extensions ## GNOME extensions
@ -106,6 +106,8 @@ sudo nixos-generate-config --dir yodaTux
## General Notes ## General Notes
* There is controversy about flakes, rather use channels (e.g. with niv)
### Nix Pills ### Nix Pills
* https://nixos.org/guides/nix-pills/pr01 * https://nixos.org/guides/nix-pills/pr01