Find a file
Henrik Lissner 79164116bc
Update userChrome.css for firefox
- Fix the urlbar being pushed up and off-screen.
- Fix tidbits of the tabbar showing through the suggestion/completion
  popup.
2020-05-08 18:48:27 -04:00
bin Fix bin/zzz 2020-04-22 19:55:09 -04:00
config Reduce to 5 workspaces 2020-04-22 20:41:00 -04:00
hosts Use ssh-agent for ssh, instead of gpg 2020-04-27 19:20:50 -04:00
modules Update userChrome.css for firefox 2020-05-08 18:48:27 -04:00
packages Remove zunit package 2020-04-22 19:53:49 -04:00
.gitignore Complete rewrite 2020-01-12 18:20:28 -05:00
default.nix Update comments & docs 2020-04-22 19:55:02 -04:00
LICENSE Update copyright year 2020-01-12 18:14:27 -05:00
Makefile Fix move_to_home task not predicated on correct subtask 2020-04-24 14:22:12 -04:00
README.md Update comments & docs 2020-04-22 19:55:02 -04:00

Made with Doom Emacs NixOS 20.03

Me looking busy

My dotfiles

  • Operating System: NixOS
  • 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
  • Icon Theme: Paper Mono Dark

Works on my machine ¯\_(ツ)_/¯

Quick start

# Assumes your partitions are set up and root is mounted on /mnt
git clone https://github.com/hlissner/dotfiles /etc/dotfiles
make -C /etc/dotfiles install

Which is equivalent to:

USER=${USER:-hlissner}
HOST=${HOST:-kuro}
NIXOS_VERSION=20.03
DOTFILES=/home/$USER/.dotfiles

git clone https://github.com/hlissner/dotfiles /etc/dotfiles
ln -s /etc/dotfiles $DOTFILES
chown -R $USER:users $DOTFILES

# make channels
nix-channel --add "https://nixos.org/channels/nixos-${NIXOS_VERSION}" nixos
nix-channel --add "https://github.com/rycee/home-manager/archive/release-${NIXOS_VERSION}.tar.gz" home-manager
nix-channel --add "https://nixos.org/channels/nixpkgs-unstable" nixpkgs-unstable

# make /etc/nixos/configuration.nix
nixos-generate-config --root /mnt
echo "import /etc/dotfiles \"$$HOST\" \"$$USER\"" >/mnt/etc/nixos/configuration.nix

# make install
nixos-install --root /mnt -I "my=/etc/dotfiles"

Management

  • make = nixos-rebuild test
  • make switch = nixos-rebuild switch
  • make upgrade = nix-channel --update && nixos-rebuild switch
  • make install = nixos-generate-config --root $PREFIX && nixos-install --root $PREFIX
  • make gc = nix-collect-garbage -d (use sudo to clear system profile)