Skip to content

rameezk/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Where are the old .files?

Through my progression and learning of the Nix ecosystem, I discovered Home Manager.

As such I've declared my old .files as old-school-thinking. But you can still find them all here.

Prerequisites

  1. Nix
  2. Home Manager

Installation

  1. Clone this repo to ~/.config/dotfiles

    git clone [email protected]:rameezk/dotfiles.git ~/.config/dotfiles
  2. cd to ~/.config/dotfiles and execute the following

    nix-shell

    This will give you the bare minimum packages to execute the dot binary in the next step.

  3. Specify machine in file .machine. You can find machines in the ./machines/ directory.

    echo "<machine>" > .machine
  4. Execute the environment rebuild

    ./bin/dot rebuild

Upgrading Packages

Upgrade the flake and rebuild environment:

nix flake update
dot rebuild

Other Docs

For other docs see docs directory.

Nice to have

pre-commit hooks

This repo is setup for git hooks using the the pre-commit framework.

Currently, hooks exist to format:

  • *.nix files using NixFmt
  • ./bin/dot file using Python black

To install the hooks, run:

pre-commit install

Emacs

If you're interested in perusing my Emacs config you can do so here.

About

🚀 All them .files

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published