Add usb group for access
This commit is contained in:
@@ -73,6 +73,9 @@ in
|
||||
dive
|
||||
podman-tui
|
||||
podman-compose
|
||||
gmp
|
||||
gmp.dev
|
||||
pkg-config
|
||||
];
|
||||
|
||||
programs.nix-ld = {
|
||||
@@ -80,6 +83,7 @@ in
|
||||
libraries = with pkgs; [
|
||||
stdenv.cc.cc
|
||||
zlib
|
||||
gmp
|
||||
openssl
|
||||
curl
|
||||
glib
|
||||
@@ -90,6 +94,29 @@ in
|
||||
];
|
||||
};
|
||||
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
powerOnBoot = true;
|
||||
settings = {
|
||||
General = {
|
||||
# Shows battery charge of connected devices on supported
|
||||
# Bluetooth adapters. Defaults to 'false'.
|
||||
Experimental = true;
|
||||
# When enabled other devices can connect faster to us, however
|
||||
# the tradeoff is increased power consumption. Defaults to
|
||||
# 'false'.
|
||||
FastConnectable = true;
|
||||
};
|
||||
Policy = {
|
||||
# Enable all controllers when they are found. This includes
|
||||
# adapters present on start as well as adapters that are plugged
|
||||
# in later on. Defaults to 'true'.
|
||||
AutoEnable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
services.blueman.enable = true;
|
||||
|
||||
# Enable the OpenSSH daemon.
|
||||
services.openssh.enable = true;
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
Reference in New Issue
Block a user