1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2024-12-15 17:50:53 +00:00

xsession: make windowManager option required

Also add a fairly complicated example.
This commit is contained in:
Robert Helgesson 2017-05-06 12:51:08 +02:00
parent 6e3085dc22
commit 3c69c7589a
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86

View file

@ -14,8 +14,15 @@ in
enable = mkEnableOption "X Session";
windowManager = mkOption {
default = {};
type = types.str;
example = literalExample ''
let
xmonad = pkgs.xmonad-with-packages.override {
packages = self: [ self.xmonad-contrib self.taffybar ];
};
in
"''${xmonad}/bin/xmonad";
'';
description = "Path to window manager to exec.";
};