Find a file
Henrik Lissner d317303dac Bump
agenix: e543aa7 -> fb00f17
emacs-overlay: 9fbb5e4 -> 9da066d
home-manager: ac319fd -> f6f6990
nixos-hardware: 4177578 -> 03e7686
nixpkgs-unstable: f930ea2 -> ecaf3da

No need for ALSA fix anymore; fix is in nixos-unstable now.
2021-07-28 00:32:32 -04:00
bin Update 'hey update' to reflect upstream changes 2021-04-13 20:30:00 -04:00
config Update fennel + awesomewm config 2021-07-05 13:06:41 -04:00
hosts Enable modules.shell.direnv on ao 2021-07-28 00:32:32 -04:00
lib Replace lib.paths with config.dotfiles.* 2021-03-01 20:43:12 -05:00
modules Bump 2021-07-28 00:32:32 -04:00
overlays Rewrite to use flakes 2020-10-11 01:31:33 -04:00
packages Update fennel + awesomewm config 2021-07-05 13:06:41 -04:00
templates/minimal Add flake templates and defaultApp 2021-01-22 20:01:55 -05:00
.gitignore Rewrite to use flakes 2020-10-11 01:31:33 -04:00
default.nix Bump 2021-07-28 00:31:38 -04:00
flake.lock Bump 2021-07-28 00:32:32 -04:00
flake.nix Use nixpkgs-unstable instead 2021-05-28 00:20:38 -04:00
LICENSE Update license year 2021-01-20 00:44:17 -05:00
README.md Use nixpkgs-unstable instead 2021-05-28 00:20:38 -04:00
shell.nix Update shell.nix to reflect recent changes 2021-01-26 22:58:47 -05:00

Made with Doom Emacs NixOS Unstable

Hey, you. You're finally awake. You were trying to configure your OS declaratively, right? Walked right into that NixOS ambush, same as us, and those dotfiles over there.


Shell: zsh + zgen
DM: lightdm + lightdm-mini-greeter
WM: bspwm + polybar
Editor: Doom Emacs (and occasionally vim)
Terminal: st
Launcher: rofi
Browser: firefox
GTK Theme: Ant Dracula

Quick start

  1. Yoink the latest build of NixOS 21.05.
  2. Boot into the installer.
  3. Do your partitions and mount your root to /mnt (for example)
  4. Install these dotfiles:
  5. nix-shell -p git nixFlakes
  6. git clone https://github.com/hlissner/dotfiles /mnt/etc/nixos
  7. Install NixOS: nixos-install --root /mnt --flake /mnt/etc/nixos#XYZ, where XYZ is the host you want to install. Use #generic for a simple, universal config, or create a sub-directory in hosts/ for your device. See host/kuro for an example.
  8. Reboot!
  9. Change your root and $USER passwords!

Management

And I say, bin/hey. What's going on?

Usage: hey [global-options] [command] [sub-options]

Available Commands:
  check                  Run 'nix flake check' on your dotfiles
  gc                     Garbage collect & optimize nix store
  generations            Explore, manage, diff across generations
  help [SUBCOMMAND]      Show usage information for this script or a subcommand
  rebuild                Rebuild the current system's flake
  repl                   Open a nix-repl with nixpkgs and dotfiles preloaded
  rollback               Roll back to last generation
  search                 Search nixpkgs for a package
  show                   [ARGS...]
  ssh HOST [COMMAND]     Run a bin/hey command on a remote NixOS system
  swap PATH [PATH...]    Recursively swap nix-store symlinks with copies (or back).
  test                   Quickly rebuild, for quick iteration
  theme THEME_NAME       Quickly swap to another theme module
  update [INPUT...]      Update specific flakes or all of them
  upgrade                Update all flakes and rebuild system

Options:
    -d, --dryrun                     Don't change anything; preform dry run
    -D, --debug                      Show trace on nix errors
    -f, --flake URI                  Change target flake to URI
    -h, --help                       Display this help, or help for a specific command
    -i, -A, -q, -e, -p               Forward to nix-env

Frequently asked questions