3
0
Fork 0
forked from mirrors/nixpkgs

xserver: qtile as windowManager

This commit is contained in:
Kamil Chmielewski 2015-07-30 07:31:53 +02:00
parent af3261f7a2
commit 2cf8d9b0ef
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 ];
};
}