1 { config, lib, pkgs, ... }:
6 cfg = config.services.xserver.windowManager.nimdow;
10 services.xserver.windowManager.nimdow.enable = mkEnableOption "nimdow";
11 services.xserver.windowManager.nimdow.package = mkOption {
13 default = pkgs.nimdow;
14 defaultText = "pkgs.nimdow";
15 description = "nimdow package to use";
20 config = mkIf cfg.enable {
21 services.xserver.windowManager.session = singleton {
24 ${cfg.package}/bin/nimdow &
28 environment.systemPackages = [ cfg.package pkgs.st ];