2020-04-24 23:36:52 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
let
|
|
|
|
cfg = config.services.xserver.windowManager.clfswm;
|
|
|
|
in
|
|
|
|
|
|
|
|
{
|
|
|
|
options = {
|
|
|
|
services.xserver.windowManager.clfswm.enable = mkEnableOption "clfswm";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
services.xserver.windowManager.session = singleton {
|
|
|
|
name = "clfswm";
|
|
|
|
start = ''
|
2021-01-15 22:18:51 +00:00
|
|
|
${pkgs.lispPackages.clfswm}/bin/clfswm &
|
2020-04-24 23:36:52 +00:00
|
|
|
waitPID=$!
|
|
|
|
'';
|
|
|
|
};
|
2021-01-15 22:18:51 +00:00
|
|
|
environment.systemPackages = [ pkgs.lispPackages.clfswm ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|