1 { config, lib, pkgs, ... }:
4 inherit (lib) mkEnableOption mkIf mkPackageOption singleton;
5 cfg = config.services.xserver.windowManager.katriawm;
10 services.xserver.windowManager.katriawm = {
11 enable = mkEnableOption "katriawm";
12 package = mkPackageOption pkgs "katriawm" {};
17 config = mkIf cfg.enable {
18 services.xserver.windowManager.session = singleton {
21 ${cfg.package}/bin/katriawm &
25 environment.systemPackages = [ cfg.package ];