Files
dotfiles/home/services/hyprmon.nix
uttarayan21 4a51b49b9e
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled
feat: added a api route to control monitors from home assistant
2025-08-16 21:59:10 +05:30

28 lines
736 B
Nix

{inputs, ...}: {
imports = [
# Import the hyprmonitors module
inputs.hyprmonitors.homeManagerModules.hyprmonitors
];
# Configure hyprmonitors service
services.hyprmonitors = {
enable = true;
# Optional: customize host and port (defaults shown)
host = "0.0.0.0";
port = 3113;
# Optional: set log level (default: "info")
logLevel = "info";
# Optional: add environment variables
# environmentVariables = {
# # Example: if you need to set specific Hyprland instance
# # HYPRLAND_INSTANCE_SIGNATURE = "your-signature-here";
# };
# Optional: override the package (if you want to use a custom build)
# package = pkgs.hyprmonitors; # Uses default from module
};
}