nix/build.conf.nix

16 lines
437 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
# not all of these actually work btw
x11-wms = ["xmonad" "i3"];
# v :o v
wayland-wms = ["hyprland" "sway" "plasma"];
2023-08-15 18:19:41 -04:00
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
is-x11 = elem wm x11-wms;
is-wayland = elem wm wayland-wms;
2023-08-15 09:38:01 -04:00
}