Skip to content

Commit

Permalink
Clean up FAQ
Browse files Browse the repository at this point in the history
  • Loading branch information
zmitchell committed May 6, 2023
1 parent f7d68d7 commit 2654989
Showing 1 changed file with 9 additions and 19 deletions.
28 changes: 9 additions & 19 deletions source/recipes/faq.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
# Frequently Asked Questions

## Nix



### How to build reverse dependencies of a package?
## How to build reverse dependencies of a package?

```shell-session
$ nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
```

### I'm getting: writing to file: Connection reset by peer
## I'm getting: writing to file: Connection reset by peer

Too big files in src, out of resources (HDD space, memory)

### What are channels and different branches on github?
## What are channels and different branches on github?

See <https://nixos.wiki/wiki/Nix_channels>

### How can I manage dotfiles in \$HOME with Nix?
## How can I manage dotfiles in \$HOME with Nix?

<https://github.com/nix-community/home-manager>

### Are there some known impurities in builds?
## Are there some known impurities in builds?

Yes.

Expand All @@ -32,17 +28,11 @@ Yes.
- Kernel
- Timing behaviour of the build system (parallel Make not getting correct inputs in some cases)

### What's the recommended process for building custom packages?

> E.g. if I git clone nixpkgs how do I use the cloned repo to define new / updated packages?
## NixOS

### How to build my own ISO?
## How to build my own ISO?

<http://nixos.org/nixos/manual/index.html#sec-building-image>
See <http://nixos.org/nixos/manual/index.html#sec-building-image>

### How do I connect to any of the machines in NixOS tests?
## How do I connect to any of the machines in NixOS tests?

Apply following patch:

Expand All @@ -64,7 +54,7 @@ index 8ad0d67..838fbdd 100644

And then the vde_switch network should be accessible locally.

### How to bootstrap NixOS inside an existing Linux installation?
## How to bootstrap NixOS inside an existing Linux installation?

There are a couple of tools:

Expand Down

0 comments on commit 2654989

Please sign in to comment.