Qtile: Difference between revisions

imported>Wingej0
No edit summary
imported>Jooooscha
m fix: greater sign (and remove now redundant explanation)
Line 5: Line 5:
To enable Qtile as your windowManager, set: <code>services.xserver.windowManager.qtile.enable</code> to <code>true</code>. For example:
To enable Qtile as your windowManager, set: <code>services.xserver.windowManager.qtile.enable</code> to <code>true</code>. For example:


{{file|/etc/nixos/configuration.nix|nix|
{{file|/etc/nixos/configuration.nix|nix|}}
<nowiki>
<syntaxHighlight lang=nix>
{ config, pkgs, ... }:  
{ config, pkgs, ... }:  
   ...
   ...
Line 18: Line 18:
   ...
   ...
}
}
</nowiki>
</syntaxHighlight>
}}


{{file|/etc/nixos/qtile.nix|nix|
{{file|/etc/nixos/qtile.nix|nix|}}
<nowiki>
<syntaxHighlight lang=nix>
{ config, pkgs, lib, ... }:
{ config, pkgs, lib, ... }:


Line 49: Line 48:
services.xserver.displayManager.sessionPackages = [ pkgs.qtile-unwrapped ];
services.xserver.displayManager.sessionPackages = [ pkgs.qtile-unwrapped ];
}
}
</nowiki>
</syntaxHighlight>
}}
 
Please note, the wiki renders the greater than sign in the code above with the HTML code & followed by gt;.  It needs to be the actual symbol ">" not the HTML code, ie. echo "${qtileSession}" > $out/share/wayland-sessions/qtile.desktop


== Warning ==
== Warning ==