Files
lan-mouse/nix
Johan 1e4312b3ce nix: Add macOS launchd service to hm-module module (#110)
Home manager has the possibility to run macOS launchd services. These
are automatically disabled when running on linux.
2024-04-28 12:25:35 +02:00
..

Nix Flake Usage

run

nix run github:feschber/lan-mouse

# with params
nix run github:feschber/lan-mouse -- --help

home-manager module

add input

inputs = {
    lan-mouse.url = "github:feschber/lan-mouse";
}

enable lan-mouse

{
  inputs,
  ...
}: {
  # add the home manager module
  imports = [inputs.lan-mouse.homeManagerModules.default];

  programs.lan-mouse = {
    enable = true;
    # systemd = false;
    # package = inputs.lan-mouse.packages.${pkgs.stdenv.hostPlatform.system}.default
    # Optional configuration in nix syntax, see config.toml for available options
    # settings = { };
    };
  };
}