Merge pull request #9047 from kamilchm/qtile-wm

xserver: qtile as windowManager
This commit is contained in:
lethalman 2015-07-30 09:51:57 +02:00
commit 5686921dd5
2 changed files with 26 additions and 0 deletions

View File

@ -25,6 +25,7 @@ in
./windowmaker.nix
./wmii.nix
./xmonad.nix
./qtile.nix
./none.nix ];
options = {

View File

@ -0,0 +1,25 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.xserver.windowManager.qtile;
in
{
options = {
services.xserver.windowManager.qtile.enable = mkEnableOption "qtile";
};
config = mkIf cfg.enable {
services.xserver.windowManager.session = [{
name = "qtile";
start = ''
${pkgs.qtile}/bin/qtile
waitPID=$!
'';
}];
environment.systemPackages = [ pkgs.qtile ];
};
}