Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installation

Arch

using AUR:

yay -S cardwire

then enable the service and reboot

sudo systemctl enable cardwired.service
reboot

Note

i also maintain the cardwire-git package in case someone tries to take it.

Note

both gets updated, in a near future, cardwire will provide a built package from github while cardwire-git will build from source.

Important

i’m also looking for an official maintainer for both AUR, since i do not use Arch.

Nix

Using the repo’s flake:

flake.nix:

cardwire = {
    url = "github:luytan/cardwire";
    inputs.nixpkgs.follows = "nixpkgs";
};

configuration.nix:

imports = [ inputs.cardwire.nixosModules.default ];

services.cardwire.enable = true;

Other distros

For now, other distros must clone the repo and use make to build and install Cardwire.

Build dependencies:

  • cargo
  • clang
  • libbpf
git clone https://github.com/luytan/cardwire.git

make build
sudo make install

Caution

Makefile was AI-generated, use with caution.

Important

For mainstream distros, i will be making an official install methods, like a copr for Fedora and a .deb for Debian based.

Non-systemd distros

Warning

Cardwire only supports systemd-based distros. If you want to use it on a non-systemd distro, either open a PR with patches for non-systemd or get it working on your setup.