vic / vix

Vic's *Nix config.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vix - Vic's Nix config.

This flake builds my darwin system:

Built with the following libraries (and lots of wonderful nix packages and libs):

Activation

Activate system with env NIX_CONF_DIR="$PWD" nix run the first time.

Searching for packages

nix search --inputs-from . nixpkgs keybase or use the vix-nixpkg-search fish function (see bellow).

Vic's Fish environment

Enabled fzf integration for fast searching History (CTRL+R) and files (CTRL+T)

Enabled direnv integration for switching development environments upon entering dirs.

Fish history is linked from private keybase repository where it is backed up.

Appart from some command aliases, the following fish functions are handy:

vix-activate             - Activate a new system generation, can be called from anywhere.

vix-nixpkg-search        - Same as:
                           nix search --inputs-from $HOME/.nix-out/vix nixpkgs $argv

rg-vix-inputs PATTERM    - Search using rg on vix flake inputs recursively.
                           This one is handy for grepping for nix code, options, packages, libs.

rg-vix PATTERN           - Search using rg on current system vix
rg-nixpkgs PATTERN       - Search using rg on current system nixpkgs
rg-home-manager PATTERN  - Search using rg on current system home-manager
rg-nix-darwin PATTERN    - Search using rg on current system nix-darwin

nixos-opt OPTION         - Search on nixos.org for OPTION
nixos-pkg PACKAGE        - Search on nixos.org for PACKAGE

repology-nixpkgs PACKAGE - Search for PACKAGE using repology.org

About

Vic's *Nix config.

License:Apache License 2.0


Languages

Language:Emacs Lisp 50.1%Language:Nix 48.3%Language:Makefile 1.6%