Find a file
Henrik Lissner d05afa7ee6 bin/hey: fix logic oopsies
+ Fix premature termination on shell command failure
+ Fix :gc always cleaning up user profile, even if --system is given
2021-02-15 19:06:48 -05:00
bin bin/hey: fix logic oopsies 2021-02-15 19:06:48 -05:00
config gitconfig: clean up & pull.rebase = true 2021-02-15 17:46:30 -05:00
hosts hosts/kuro: update readme 2021-02-15 15:37:27 -05:00
lib Upgrade to qutebrowser 2.0.1 2021-02-02 04:08:01 -05:00
modules xst: switch to JetBrainsMono & add borderpx 2021-02-15 13:16:18 -05:00
overlays Rewrite to use flakes 2020-10-11 01:31:33 -04:00
packages Add adl module and packages 2021-02-09 22:00:17 -05: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 system.stateVersion = 21.03 2021-02-02 04:08:01 -05:00
flake.lock Bump 2021-02-15 13:16:18 -05:00
flake.nix Remove nixpkgs-stable input 2021-02-14 19:23:13 -05:00
LICENSE Update license year 2021-01-20 00:44:17 -05:00
README.md Update bin/hey commands in readme 2021-02-15 17:20:36 -05:00
shell.nix Update shell.nix to reflect recent changes 2021-01-26 22:58:47 -05:00

Made with Doom Emacs NixOS 21.03

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.03.
  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?

Command Description
hey check Run tests and checks for this flake
hey gc Runs nix-collect-garbage -d. Use --all to clean up system profile too.
hey rebuild Rebuild this flake (shortcut: hey re)
hey rollback Roll back to previous system generation
hey show Show flake outputs of this repo
hey ssh REMOTE [COMMAND] Run a bin/hey command on REMOTE over ssh
hey upgrade Update flake lockfile and switch to it (shortcut: hey up)

Frequently asked questions