1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/nixos/modules/services/x11/window-managers/herbstluftwm.nix

24 lines
474 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
2013-11-09 01:38:15 +00:00
with lib;
2013-11-09 01:38:15 +00:00
let
cfg = config.services.xserver.windowManager.herbstluftwm;
in
{
options = {
services.xserver.windowManager.herbstluftwm.enable = mkEnableOption "herbstluftwm";
2013-11-09 01:38:15 +00:00
};
config = mkIf cfg.enable {
services.xserver.windowManager.session = singleton {
name = "herbstluftwm";
start = "
${pkgs.herbstluftwm}/bin/herbstluftwm
";
};
environment.systemPackages = [ pkgs.herbstluftwm ];
};
}