1 { config, lib, pkgs, ... }:
6 cfg = config.services.xserver.windowManager.fvwm2;
7 fvwm2 = pkgs.fvwm2.override { enableGestures = cfg.gestures; };
13 (mkRenamedOptionModule
14 [ "services" "xserver" "windowManager" "fvwm" ]
15 [ "services" "xserver" "windowManager" "fvwm2" ])
21 services.xserver.windowManager.fvwm2 = {
22 enable = mkEnableOption "Fvwm2 window manager";
27 description = "Whether or not to enable libstroke for gesture support";
35 config = mkIf cfg.enable {
36 services.xserver.windowManager.session = singleton
45 environment.systemPackages = [ fvwm2 ];