Thanks to visit codestin.com
Credit goes to github.com

Skip to content

cideM/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

$ echo "use flake" > .envrc
$ direnv allow
$ nix-shell -p lix --command "nix build --experimental-features 'nix-command flakes' '.#homeConfigurations.mbp.activationPackage'"
$ ./result/activate
$ nh home switch . -c mbp

Architecture

My configuration follows the Dendritic configuration pattern. Every file in modules/*.nix is a flake parts module (not a standard Home Manager or NixOS module!). By using import-tree all modules are automagically imported and active.

Each module should, in theory, deal with a single cross cutting concern, such as configuring Git on all systems, hosts and platforms.

Since I only use Nix on my MacBook Pro, my configuration stuffs most settings into a modules/common.nix file.