Skip to content

rameezk/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

960 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Nix configuration using Home Manager and Nix Flakes.

Prerequisites

  1. Nix with flakes enabled

Installation

  1. Clone this repo:

    git clone git@github.com:rameezk/dotfiles.git ~/.config/dotfiles
    cd ~/.config/dotfiles
  2. Build and activate the configuration:

    ./bin/switch

    The machine configuration is automatically determined by hostname.

Commands

Command Description
./bin/switch Build and activate configuration
./bin/upgrade Update flake inputs and rebuild
./bin/rollback Rollback to previous generation
./bin/collect-garbage Clean up old generations

Development

Formatting

Format Nix files:

nix fmt

Pre-commit Hooks

This repo uses pre-commit to format *.nix files with nixfmt.

To install hooks:

pre-commit install

Other Docs

See the docs directory for additional documentation.

Emacs

Interested in my Emacs config? See modules/editor/emacs/config/emacs.org.

Legacy

Looking for the old non-Nix dotfiles? Find them on the old-school-thinking branch.

About

🚀 All them .files

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published