This commit is contained in:
Hadi
2024-08-19 19:36:21 +02:00
parent 849eb5dd11
commit 79a69d245c
8 changed files with 42 additions and 53 deletions

View File

@@ -1,4 +1,5 @@
{
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [ blueman ];
hardware.bluetooth = {
enable = true;
powerOnBoot = true;

View File

@@ -11,9 +11,7 @@
enable = config.var.usbguard;
dbus.enable = true;
implicitPolicyTarget = "block";
# FIXME: set yours pref USB devices (change {id} to your trusted USB device), use `lsusb` command (from usbutils package) to get list of all connected USB devices including integrated devices like camera, bluetooth, wifi, etc. with their IDs or just disable `usbguard`
# allow id {id} # device 1...
rules = "";
rules = config.var.usbguardRules;
};
# Enable USB-specific packages