dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

My NixOS dotfiles

dotfiles

Made with trial and error NixOS Unstable

Currently transitioning to a new setup, the old dotfiles can be found in the old branch.

NixOS dotfiles with support for:

  • Darling erasure - restoring the machine to a clean state on every boot
  • Secureboot via lanzaboote
  • LUKS encryption with TPM unlocking
  • Flicker-free boot with Plymouth
  • Sensible defaults for garbage collection to reduce disk usage

Further the dotfiles include:

  • Home-manager setup for both NixOS and MacOS
  • nix-darwin setup, with Homebrew support
  • Formatting with alejandra
  • Minimal ZSH setup

Usage

The dotfiles contain configuration for:

  • harmonium - Personal NixOS laptop
  • organ - ARM-based server
  • nyckelharpa - Work Macbook
  • home-manager configurations for both systems

Refer to the respective host directories for more information.

To-Do

  • [x] Modularize the setup
  • [ ] Custom Sway/newm-atha based desktop setup
  • [ ] Docker support
  • [ ] Dev environments
  • [ ] Full Neovim setup
  • [x] Full nix-darwin setup with system configuration
  • [x] Server setup
    • [x] Explore disko for declarative disk management
    • [x] Explore nixos-anywhere for remote installation

Useful resources