File tree Expand file tree Collapse file tree 1 file changed +19
-6
lines changed
Expand file tree Collapse file tree 1 file changed +19
-6
lines changed Original file line number Diff line number Diff line change 11# Nix Flake Usage
22
3- ## run
3+ ## Run
44
55``` bash
66nix run github:feschber/lan-mouse
77
8- # with params
8+ # With params
99nix run github:feschber/lan-mouse -- --help
1010
1111```
1212
13- ## home -manager module
13+ ## Home -manager module
1414
15- add input
15+ Add input:
1616
1717``` nix
1818inputs = {
1919 lan-mouse.url = "github:feschber/lan-mouse";
2020}
2121```
2222
23- enable lan-mouse
23+ Optional: add [ our binary cache] ( https://app.cachix.org/cache/lan-mouse ) to allow a faster package install.
24+
25+ ``` nix
26+ nixConfig = {
27+ extra-substituters = [
28+ "https://lan-mouse.cachix.org/"
29+ ];
30+ extra-trusted-public-keys = [
31+ "lan-mouse.cachix.org-1:KlE2AEZUgkzNKM7BIzMQo8w9yJYqUpor1CAUNRY6OyM="
32+ ];
33+ };
34+ ```
35+
36+ Enable lan-mouse:
2437
2538``` nix
2639{
2740 inputs,
2841 ...
2942}: {
30- # add the home manager module
43+ # Add the Home Manager module
3144 imports = [inputs.lan-mouse.homeManagerModules.default];
3245
3346 programs.lan-mouse = {
You can’t perform that action at this time.
0 commit comments