1 { config, lib, pkgs, ... }:
6 cfg = config.services.xserver.windowManager.smallwm;
11 services.xserver.windowManager.smallwm.enable = mkEnableOption "smallwm";
15 config = mkIf cfg.enable {
16 services.xserver.windowManager.session = singleton {
19 ${pkgs.smallwm}/bin/smallwm &
23 environment.systemPackages = [ pkgs.smallwm ];