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

View file

@ -8,7 +8,7 @@
[ (modulesPath + "/installer/scan/not-detected.nix") [ (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.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];