15 lines
207 B
Nix
Raw Normal View History

2024-07-19 14:00:55 +02:00
{
lib,
config,
pkgs,
...
}:
2024-07-18 13:48:49 +02:00
with lib;
let
enabled = any (user: user.modules.river.enable) (attrValues config.home-manager.users);
2024-07-19 14:00:55 +02:00
in
{
config = mkIf enabled { programs.river.enable = true; };
}