Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@LnL7
Created March 8, 2018 22:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LnL7/f1266f840871d471256008c70c463fbc to your computer and use it in GitHub Desktop.
Save LnL7/f1266f840871d471256008c70c463fbc to your computer and use it in GitHub Desktop.
nixos i3 configuration
{ config, lib, pkgs, ... }:
{
services.xserver.windowManager.default = "i3";
services.xserver.windowManager.i3.enable = true;
services.xserver.windowManager.i3.configFile = "/etc/i3.conf";
environment.etc."i3.conf".text = pkgs.callPackage ./i3-config.nix {};
}
{ dmenu, i3status }:
''
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
...
''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment