diff --git a/docs/Nix-NixOS/Home Manager/errors-and-stuff.md b/docs/Nix-NixOS/Home Manager/errors-and-stuff.md new file mode 100644 index 0000000..9d541f2 --- /dev/null +++ b/docs/Nix-NixOS/Home Manager/errors-and-stuff.md @@ -0,0 +1,31 @@ +# Errors and stuff + +## Security errors + +Home Manager will warn about insecure packages, to bypass one-time you can run this: + +```sh +export NIXPKGS_ALLOW_INSECURE=1 +``` + +## Could not find suitable profile directory + +Run this: + +```sh +nix-env -q +``` + +## file 'home-manager/home-manager/home-manager.nix' was not found in the Nix search path + +Error: + +```txt +error: file 'home-manager/home-manager/home-manager.nix' was not found in the Nix search path (add it using $NIX_PATH or -I) + + at «none»:0: (source not available) +``` + +idk :( + +Sometimes restarting fixes it temporarily. diff --git a/docs/Nix-NixOS/setup.md b/docs/Nix-NixOS/setup.md new file mode 100644 index 0000000..77ba380 --- /dev/null +++ b/docs/Nix-NixOS/setup.md @@ -0,0 +1,3 @@ +# NixOS Setup + +Coming soon (to theaters!) \ No newline at end of file