Yuri`s Nix DotFiles
- curl http://yurifrl.com/linux/install.sh > install.sh
- chmod +x install.sh
- this will FORMAT your hardrive and download the dotfiles
- after install
- sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos
- sudo nix-channel --update
- Loging on keybase
- Loging on chrome
- cachix use ghcide-nix
- krew install --manifest=$HOME/NixFiles/pkgs/krew/krew.yaml
- k krew install ctx
- k krew install ns
Some nix usefull commands
# Check nix option
nixos-option services.xserve
# Delete old generations
sudo nix-env --delete-generations old
# Garbage collect
nix-collect-garbage -d
# After you garbage collect it clear's cache run search to setup things up
nix search -u
# Open nix repl
nix repl
:l <nixpkgs>
# Tets a single derivation
nix-build -E 'with import <nixpkgs> { }; callPackage ./default.nix {}'
- Nix Cheat Sheet https://nixos.wiki/wiki/Cheatsheet
- Nix options https://nixos.org/nixos/options.html#
- https://nixos.wiki/wiki/FAQ#How_can_I_install_a_package_from_unstable_while_remaining_on_the_stable_channel.3F
- https://github.com/yrashk/nix-home/blob/master/home.nix
- https://github.com/srid/nix-config/tree/master/nix/home
- nix overlays https://thomashartmann.dev/blog/nix-override-packages-with-overlays/
- https://git.sr.ht/~dcao/dotfiles/tree/72958d2a6dc3e6626a2aa66bbfdd86d2c5f010a9/configuration.nix
- https://git.sr.ht/~euandreh/dotfiles/tree/fff54cb3eb4398a56990ca3d29d658b267718556/nixos/configuration.nix
- Side channel example https://github.com/openlab-aux/vuizvui
- Private nix package with ssh
- SOmething about nix packages http://gfxmonk.net/2018/05/12/a-journey-towards-better-nix-package-development.html
- Reference nixfiles
- Nix reference thread
- Fetch url implementation
- Binaries in nixos
- Binaries in nixos 2
- Keychron function keys not working
- TODO
- nixpkgs example
MIT license.