nixos-configs/modules/ratbag-mice.nix
matt1432 31c3dbb205
All checks were successful
Discord / discord commits (push) Has been skipped
feat(mice): solaar -> ratbagd/piper
2024-04-24 17:44:08 -04:00

28 lines
464 B
Nix

{
config,
lib,
pkgs,
...
}: let
inherit (config.vars) mainUser;
inherit (lib) mkIf;
cfgHypr =
config
.home-manager
.users
.${mainUser}
.wayland
.windowManager
.hyprland;
in {
services.ratbagd.enable = true;
# HOME-MANAGER CONFIG
home-manager.users.${mainUser} = {
home.packages = with pkgs; [piper];
wayland.windowManager.hyprland = mkIf (cfgHypr.enable) {
# settings.exec-once = [""];
};
};
}