Skip to content

Commit

Permalink
Update nixos-flake for automatic backup
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Sep 30, 2024
1 parent a22b2df commit 63117ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,6 @@ To browse the capabilities of home-manager (and to see what else can go in your

**Solution**: This is an instance of https://github.com/nix-community/home-manager/issues/4611. Run `sudo mkdir /nix/var/nix/profiles/per-user/$(whoami)/ && sudo chown $(whoami) /nix/var/nix/profiles/per-user/$(whoami)` and try again.

### `Existing file ... is in the way of ...`

**Problem**: Running `nix run` (home-manager) complains `"Existing file ... is in the way of ..."`

**Solution**: Delete those existing dotfiles (take a backup first), and try again. In home-manager, you can configure your shell directly in Nix (for macOS zsh, this is [`programs.zsh.envExtra`](https://nix-community.github.io/home-manager/options.xhtml#opt-programs.zsh.envExtra)) and may also include your existing dotfile verbatim.

### Cannot use cache / cachix

**Problem**: Cannot use cachix: Running `nix run nixpkgs#cachix use nammayatri` (for example) does not succeed.
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 63117ac

Please sign in to comment.