feat: added a api route to control monitors from home assistant
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled
This commit is contained in:
27
home/services/hyprmon.nix
Normal file
27
home/services/hyprmon.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{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
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user