diff --git a/README.md b/README.md index a3bb8cd..bb9fdaf 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 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 @@ -9,7 +9,7 @@ Directly change to new config, make it default: ```shell -sudo nixos-rebuild -I nixos-config=yodaTux/configuration.nix switch +sudo nixos-rebuild -I nixos-config=yodaTab/configuration.nix switch ``` ## System updates @@ -24,9 +24,9 @@ sudo nix-channel --update # The -s param does currently not work for both, .nix and .json file. # 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. @@ -68,7 +68,7 @@ sudo nix-channel --list Use the corresponding branch: ```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 @@ -88,7 +88,7 @@ Use the corresponding branch: * Re-generate hardware configuration: ```shell -sudo nixos-generate-config --dir yodaTux +sudo nixos-generate-config --dir yodaTab ``` ## GNOME extensions @@ -106,6 +106,8 @@ sudo nixos-generate-config --dir yodaTux ## General Notes +* There is controversy about flakes, rather use channels (e.g. with niv) + ### Nix Pills * https://nixos.org/guides/nix-pills/pr01 diff --git a/yodaTux/hardware-configuration.nix b/yodaTab/hardware-configuration.nix similarity index 100% rename from yodaTux/hardware-configuration.nix rename to yodaTab/hardware-configuration.nix diff --git a/yodaTux/home-manager.nix b/yodaTab/home-manager.nix similarity index 100% rename from yodaTux/home-manager.nix rename to yodaTab/home-manager.nix diff --git a/yodaTux/nix/sources.json b/yodaTab/nix/sources.json similarity index 100% rename from yodaTux/nix/sources.json rename to yodaTab/nix/sources.json diff --git a/yodaTux/nix/sources.nix b/yodaTab/nix/sources.nix similarity index 100% rename from yodaTux/nix/sources.nix rename to yodaTab/nix/sources.nix