Skip to content

n4cr4/dotnix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotnix

n4cr4's configurations.

Installation

Nix

Use nix-installer .

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | \
  sh -s -- install

Update

This repository uses direnv for automatic environment loading and devshell for convenience commands.

Workflow

  1. Normal use: direnv automatically loads the environment when you enter the directory
  2. With shortcuts: Run nix develop in a separate tmux pane to access devshell aliases

First-time Setup

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.

Quick Update Commands

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

Other Commands

# Format Nix files
fmt

# Show all available commands
help

About

configs for n4cr4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages