nix/build.conf.nix

14 lines
363 B
Nix
Raw Normal View History

2023-08-15 18:31:53 -04:00
input@{ wm ? null, ...}:
2023-08-15 12:24:09 -04:00
with builtins;
2023-08-15 18:31:53 -04:00
input //
2023-08-15 18:19:41 -04:00
rec {
2023-08-15 21:11:02 -04:00
# should probably split plasma into plasma-x11 and plasma-wayland at some point
2023-08-15 18:19:41 -04:00
x11-wms = ["plasma" "xmonad" "i3"];
wayland-wms = ["hyprland" "sway"];
wms = x11-wms ++ wayland-wms;
2023-08-15 12:24:09 -04:00
2023-08-15 12:52:48 -04:00
# very, very non-exhaustive of course
2023-08-15 18:19:41 -04:00
is-x11 = wm: elem wm x11-wms;
is-wayland = wm: elem wm wayland-wms;
2023-08-15 09:38:01 -04:00
}