lan-mouse/nix
虢豳 24e7a1d07f
Add desktop and icon (#212)
* nix flake update

* nix: add desktop and icon

closes #210
2024-10-07 12:05:07 +02:00
..
default.nix Add desktop and icon (#212) 2024-10-07 12:05:07 +02:00
hm-module.nix nix: Add macOS launchd service to hm-module module (#110) 2024-04-28 12:25:35 +02:00
README.md nix: enable creating config file via home-manager (#109) 2024-04-25 14:06:31 +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 = { };
    };
  };
}