From 989a0a6920731dcc561b0167bc544602be12bb24 Mon Sep 17 00:00:00 2001 From: askiiart Date: Sat, 30 Dec 2023 16:41:29 -0600 Subject: [PATCH] Add nix stuff --- .../Home Manager/errors-and-stuff.md | 31 +++++++++++++++++++ docs/Nix-NixOS/setup.md | 3 ++ 2 files changed, 34 insertions(+) create mode 100644 docs/Nix-NixOS/Home Manager/errors-and-stuff.md create mode 100644 docs/Nix-NixOS/setup.md 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