feat(dotfiles): Begin controlling various dotfiles from Nix

Moves my i3 configuration into a nix derivation called 'tazjins-dotfiles'.

A good step towards fully declarative system configuration!
This commit is contained in:
Vincent Ambo 2017-10-20 23:22:10 +02:00
parent a8a9bf1300
commit 7fe75e0138
5 changed files with 200 additions and 2 deletions

View file

@ -10,7 +10,11 @@ in {
services.xserver.xkbOptions = "caps:super, grp:shifts_toggle";
# configure desktop environment:
services.xserver.windowManager.i3.enable = true;
services.xserver.windowManager.i3 = {
enable = true;
configFile = "/etc/i3/config";
};
services.compton.enable = true;
services.compton.backend = "xrender"; # this should be the default!