Skip to content

Instantly share code, notes, and snippets.

@CestDiego
Created July 18, 2015 02:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save CestDiego/e40162aa410434d0af3a to your computer and use it in GitHub Desktop.
Save CestDiego/e40162aa410434d0af3a to your computer and use it in GitHub Desktop.
# 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 = ''
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;
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment