Add nix stuff
This commit is contained in:
parent
fd1c6f3f01
commit
989a0a6920
2 changed files with 34 additions and 0 deletions
31
docs/Nix-NixOS/Home Manager/errors-and-stuff.md
Normal file
31
docs/Nix-NixOS/Home Manager/errors-and-stuff.md
Normal file
|
@ -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.
|
3
docs/Nix-NixOS/setup.md
Normal file
3
docs/Nix-NixOS/setup.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# NixOS Setup
|
||||||
|
|
||||||
|
Coming soon (to theaters!)
|
Loading…
Reference in a new issue