n4cr4's configurations.
Use nix-installer .
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | \
sh -s -- install
This repository uses direnv for automatic environment loading and devshell for convenience commands.
- Normal use: direnv automatically loads the environment when you enter the directory
- With shortcuts: Run
nix developin a separate tmux pane to access devshell aliases
If this is your first time cloning this repository, you need to install home-manager using nix:
nix run home-manager/master -- init --switch
nix run home-manager/master -- switch --flake .After the initial setup, you can use the update commands below.
Use these aliases from devshell (run nix develop first):
# 1. Update home-manager only (fastest)
hm
# 2. Update home-manager + sheldon lock (when shell config changed)
hm-shell
# 3. Full update: flake + home-manager + sheldon lock (recommended periodically)
hm-full# Format Nix files
fmt
# Show all available commands
help