Find a file
Henrik Lissner 64bec0f415 Generalize bin/hey
It'll operate out of /etc/nixos or /etc/dotfiles, rather than where the
script lives. This allows it to be used for flakes instantiated from our
templates.
2021-01-26 22:58:47 -05:00
bin Generalize bin/hey 2021-01-26 22:58:47 -05:00
config Reduce false positives with zman alias 2020-12-18 23:42:48 -05:00
hosts hosts/ao: rewrite & use agenix 2021-01-26 22:58:47 -05:00
lib Refactor 2021-01-20 01:28:30 -05:00
modules Install ripgrep in zsh module 2021-01-26 22:58:47 -05:00
overlays Rewrite to use flakes 2020-10-11 01:31:33 -04:00
packages Rewrite to use flakes 2020-10-11 01:31:33 -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 Refactor 2021-01-20 01:28:30 -05:00
flake.lock Add agenix 2021-01-22 20:01:55 -05:00
flake.nix Add agenix 2021-01-22 20:01:55 -05:00
LICENSE Update license year 2021-01-20 00:44:17 -05:00
README.md Minor refactors & readme revision 2021-01-02 00:26:00 -05:00
shell.nix Add shell.nix 2020-12-20 20:16:00 -05:00

Made with Doom Emacs NixOS 20.09

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 stable build of NixOS 20.09.
  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/dotfiles
  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?

Command Description
hey rebuild Rebuild this flake (shortcut: hey re)
hey upgrade Update flake lockfile and switch to it (shortcut: hey up)
hey rollback Roll back to previous system generation
hey gc Runs nix-collect-garbage -d. Use sudo to clean system profile
hey push REMOTE Deploy these dotfiles to REMOTE (over ssh)
hey check Run tests and checks for this flake
hey show Show flake outputs of this repo

Frequently asked questions