Skip to content

samhh/dotfiles

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
cfg
 
 
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

dotfiles

Configuring the universe with Nix.

The repo configures three hosts:

  • Alakazam: Desktop, NixOS
  • Lapras: Laptop, macOS w/ nix-darwin
  • Tentacool: Homelab, NixOS

Keybindings are with my keymap in mind.

Lapras configures only the shell owing to this issue, and also because I mostly treat it more like a mobile device.

Usage

Build your desired host with nixos-rebuild --flake (or darwin-rebuild on macOS). Example:

# nixos-rebuild switch --flake ".#alakazam"

For now some Alakazam scripts presume the repo will be at ~/dotfiles/. Anything that couldn't be configured in Home Manager lives in ./cfg/ (NB not :/cfg/, which defines custom Nix configuration).

Packages

Some packages not in nixpkgs are defined in :/pkgs/. These can be built and run as flake outputs. Example:

$ echo "declare const foo: Bar" | nix run ".#tshm" -- -a
foo :: Bar

Additionally some Home Manager modules are defined in :/modules/.

History

I used to run various different operating systems and window managers. Those configs are preserved in this repo's commit history. Arch/XMonad specifically is available at nixos~1.