I3: Difference between revisions

imported>Fadenb
m highlighting + missing semicolon
imported>JosephTheEngineer
m Changed 'service.xserver' to 'services.xserver'
Line 3: Line 3:


== Enabling ==
== Enabling ==
To use i3 set <code>service.xserver.windowManager.i3.enable</code> to <code>true</code>. For example:
To use i3 set <code>services.xserver.windowManager.i3.enable</code> to <code>true</code>. For example:
{{file|/etc/nixos/configuration.nix|nix|
{{file|/etc/nixos/configuration.nix|nix|
<nowiki>
<nowiki>
Line 30: Line 30:
To use i3-gaps fork, the following line should be added to the configuration.nix:   
To use i3-gaps fork, the following line should be added to the configuration.nix:   


<syntaxhighlight lang="nix" inline>service.xserver.windowManager.i3.package = pkgs.i3-gaps;</syntaxhighlight>
<syntaxhighlight lang="nix" inline>services.xserver.windowManager.i3.package = pkgs.i3-gaps;</syntaxhighlight>


===DConf===
===DConf===