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
// TODO
WTFPL
A: nix-prefetch-url --unpack https://github.com/${owner}/${repo}/archive/${rev}.tar.gz
A: Go to Settings -> Terminal and disable Shell Integration
A:
sudo nix-collect-garbage -d
sudo nixos-rebuild switch