2 { config, lib, pkgs, ... }:
7 cfg = config.services.xserver.windowManager.spectrwm;
12 services.xserver.windowManager.spectrwm.enable = mkEnableOption (lib.mdDoc "spectrwm");
15 config = mkIf cfg.enable {
16 services.xserver.windowManager = {
20 ${pkgs.spectrwm}/bin/spectrwm &
25 environment.systemPackages = [ pkgs.spectrwm ];