Add pdf and audio tools, enable automatic bt mode switch

This commit is contained in:
Felix Suchert 2021-02-01 10:01:17 +01:00
parent 4ab5c2f274
commit 272120abf8
Signed by: feliix42
GPG key ID: 24363525EA0E8A99
2 changed files with 13 additions and 3 deletions

View file

@ -169,15 +169,17 @@
# switch to bluetooth automatically if they are connected
extraConfig = "
load-module module-switch-on-connect
load-module module-bluetooth-policy auto_switch=2
";
};
# enable bluetooth in general and add a simple tool for connecting devices
hardware.bluetooth = {
enable = true;
package = pkgs.bluezFull;
# enable A2DP
config.General = {
Enable = "Source,Sink,Media,Socket";
config = {
General = { Enable = "Source,Sink,Media,Socket"; };
};
};
services.blueman.enable = true;
@ -232,6 +234,8 @@
screen
# automatic detection of display changes
autorandr
# audio management
pavucontrol
# password management
pass
pinentry-curses
@ -266,13 +270,19 @@
mupdf
pdfpc
zathura
# PDF manipulation
podofo
poppler_utils
# LaTeX
texlive.combined.scheme-full
# the eternal pain continues
libreoffice-fresh
# video and media applications
zoom-us
teams
youtube-dl
mpv
streamlink
ffmpeg-full
# messenger
tdesktop

View file

@ -8,7 +8,7 @@
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usbhid" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];