-
-
Save travisbhartwell/148022e33e3eb1697f11 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# i3 desktop config | |
{ pkgs, ... }: | |
{ | |
environment.systemPackages = with pkgs; [ | |
dmenu # for app launcher | |
feh # for background image | |
i3 | |
i3lock # screen lock | |
i3status # sys info | |
scrot # for screenshot | |
# xorg.utilmacros | |
# xorg.xcursorgen | |
# xorg.xcursorthemes | |
]; | |
nixpkgs.config.packageOverrides = pkgs: { | |
i3 = pkgs.stdenv.lib.overrideDerivation pkgs.i3 (oldAttrs: rec { | |
src = pkgs.fetchgit { | |
url = "http://github.com/Airblader/i3.git"; | |
rev = "refs/heads/gaps-next"; | |
sha256 = "81b2c65663c3ce13a7e62f233d5d902fe50dd0356b7a239807f30230c40670d5"; | |
}; | |
postUnpack = '' | |
find . | |
echo -n "4.10.2 (2015-07-14, branch \\\"gaps-next\\\")" > ./i3/I3_VERSION | |
echo -n "4.10.2" > ./i3/VERSION | |
''; | |
}); | |
}; | |
services.xserver = { | |
windowManager = { | |
i3.enable = true; | |
default = "i3"; | |
}; | |
# displayManager = { | |
# sessionCommands = "i3status &"; | |
# }; | |
desktopManager = { | |
default = "none"; | |
xterm.enable = false; | |
}; | |
}; | |
} |
Author
travisbhartwell
commented
Jul 18, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment