Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 805 Bytes

README.md

File metadata and controls

34 lines (19 loc) · 805 Bytes

My NixOS config

This repo contains my nixos config based on home-manager

config folder goes to /etc/config and nixpkgs folder goes to ~/.config/nixpkgs

The templates folder contains some examples on how to use nix shells for custom environments, mostly for development

1 - Installation

// TODO

2 - LICENSE

WTFPL

3 - Tips and Tricks

Q: How to get the sha256 hash of a repo?

A: nix-prefetch-url --unpack https://github.com/${owner}/${repo}/archive/${rev}.tar.gz

Q: Webstorm shows an error when opening a terminal inside a nix shell:

A: Go to Settings -> Terminal and disable Shell Integration

Q: Im running out of space on my disk wtf why?:

A:

sudo nix-collect-garbage -d

sudo nixos-rebuild switch