Files
torlink/nix/README.md
T

43 lines
787 B
Markdown
Raw Normal View History

2026-06-30 22:23:25 +02:00
# Flake install
Add this repo to your ```flake.nix```. The package is built using the unstable channel. You can overwrite this by setting ```inputs.nixpkgs.follows = "nixpkgs"``` (if your default is 26.05).
**The binary is executed as ```torlnk```.**
```nix
inputs = {
...
torlink.url = "github:baairon/torlink";
...
}
```
You can install the package in either home.nix or your configuration.nix depending on your preference.
**User**
```nix
# home.nix
{ pkgs, inputs, ... }:
{
home.packages = with pkgs; [
...
inputs.torlink.packages.${pkgs.system}.default
...
];
}
```
**System**
```nix
# configuration.nix
{ pkgs, inputs, ... }:
{
environment.systemPackages = with pkgs; [
...
inputs.torlink.packages.${pkgs.system}.default
...
];
}
```