1
1
Fork
You've already forked usbling
0
A Libadwaita GUI companion application for usbguard
  • Rust 95%
  • Nix 5%
2026年06月20日 15:35:58 +03:00
assets feat: Add basic tray application with allow popup 2026年06月16日 23:50:28 +03:00
data feat: Add credits section with icon info, clean up branding 2026年06月17日 01:37:46 +03:00
screenshots add setup instructions for fedora, better screenshots 2026年06月20日 15:34:50 +03:00
src refactor: Clean up, clippy 2026年06月20日 14:13:05 +03:00
.envrc Project scaffold 2026年06月16日 21:58:33 +03:00
.gitignore feat: Add application modes & usb notifications 2026年06月17日 01:32:19 +03:00
build.nix update to v0.4.1 2026年06月20日 15:35:58 +03:00
Cargo.lock update to v0.4.1 2026年06月20日 15:35:58 +03:00
Cargo.toml update to v0.4.1 2026年06月20日 15:35:58 +03:00
flake.lock feat: Add pre-commit hook 2026年06月16日 22:15:18 +03:00
flake.nix feat: Add application modes & usb notifications 2026年06月17日 01:32:19 +03:00
LICENSE License the application under MIT 2026年06月17日 22:52:55 +03:00
README.md add setup instructions for fedora, better screenshots 2026年06月20日 15:34:50 +03:00

Usbling


A Libadwaita GUI companion application for usbguard

nix run git+https://codeberg.org/kaya/usbling.git

Features

  • New USB device notification: Get a desktop notification on new device being plugged in
  • Alert on device addition: Easily allow or disallow usb device as soon as it was plugged in
  • Temporary rules: Block or allow devices for an hour, useful when re-plugging the same device frequently

Installation

Fedora

Install both usbguard and usbguard-dbus package, make sure your user has IPC permissions.

Installing with Home Manager

Add Usbling repo as flake input:

# flake.nix
inputs.usbling = {
 url = "git+https://codeberg.org/kaya/usbling.git";
 inputs.nixpkgs.follows = "nixpkgs";
};

Install Usbling package:

# home.nix
{ inputs, pkgs, ... }:
{
 nixpkgs.overlays = [ inputs.usbling.overlays.default ];
 home.packages = with pkgs; [
 usbling
 ];
}

Enable usbguard if you haven't already:

# configuration.nix
services.usbguard = {
 enable = true;
 IPCAllowedGroups = [ "wheel" ];
};

Credits

Icon from the GNOME Icon Library, licensed CC0-1.0.

License

Usbling is licensed under the MIT License.