feat: propagate module enables (hyprland/xmonad -> taffybar -> sni)

Move enable propagation into the modules themselves instead of
desktop.nix. Relax the assertion to only prevent both taffybar
and waybar from being enabled simultaneously.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-10 20:17:46 -08:00
committed by Kat Huang
parent 59afc172b5
commit fb8df6e242
4 changed files with 8 additions and 5 deletions

View File

@@ -1,5 +1,7 @@
{ config, pkgs, makeEnable, inputs, ... }:
makeEnable config "myModules.hyprland" true {
myModules.taffybar.enable = true;
programs.hyprland = {
enable = true;
# Use Hyprland from the flake for proper plugin compatibility