mirror of
https://github.com/Feliix42/dotfiles.git
synced 2024-11-22 22:16:30 +00:00
Add bluetooth configuration, change graphics settings and messaging apps
This commit is contained in:
parent
bac7cdd09b
commit
4ab5c2f274
2 changed files with 49 additions and 2 deletions
|
@ -29,7 +29,7 @@
|
||||||
# the top and down respectively.
|
# the top and down respectively.
|
||||||
# The width can be negative. In this case the actual width is the
|
# The width can be negative. In this case the actual width is the
|
||||||
# screen width minus the width defined in within the geometry option.
|
# screen width minus the width defined in within the geometry option.
|
||||||
geometry = "300x5-30+20"
|
geometry = "600x5-30+20"
|
||||||
|
|
||||||
# Show how many messages are currently hidden (because of geometry).
|
# Show how many messages are currently hidden (because of geometry).
|
||||||
indicate_hidden = yes
|
indicate_hidden = yes
|
||||||
|
|
|
@ -57,6 +57,20 @@
|
||||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||||
|
|
||||||
|
# enable hardware-accelerated graphics
|
||||||
|
nixpkgs.config.packageOverrides = pkgs: {
|
||||||
|
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
|
||||||
|
};
|
||||||
|
hardware.opengl = {
|
||||||
|
enable = true;
|
||||||
|
extraPackages = with pkgs; [
|
||||||
|
intel-media-driver # LIBVA_DRIVER_NAME=iHD
|
||||||
|
vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
|
||||||
|
vaapiVdpau
|
||||||
|
libvdpau-va-gl
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# Select internationalisation properties.
|
# Select internationalisation properties.
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
console = {
|
console = {
|
||||||
|
@ -146,7 +160,27 @@
|
||||||
|
|
||||||
# Enable sound.
|
# Enable sound.
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
hardware.pulseaudio.enable = true;
|
# configure pulseaudio to work with bluetooth headsets using aptx
|
||||||
|
hardware.pulseaudio = {
|
||||||
|
enable = true;
|
||||||
|
extraModules = [ pkgs.pulseaudio-modules-bt ];
|
||||||
|
# the full package is necessary for BT support
|
||||||
|
package = pkgs.pulseaudioFull;
|
||||||
|
# switch to bluetooth automatically if they are connected
|
||||||
|
extraConfig = "
|
||||||
|
load-module module-switch-on-connect
|
||||||
|
";
|
||||||
|
};
|
||||||
|
|
||||||
|
# enable bluetooth in general and add a simple tool for connecting devices
|
||||||
|
hardware.bluetooth = {
|
||||||
|
enable = true;
|
||||||
|
# enable A2DP
|
||||||
|
config.General = {
|
||||||
|
Enable = "Source,Sink,Media,Socket";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
services.blueman.enable = true;
|
||||||
|
|
||||||
# Enable touchpad support (enabled default in most desktopManager).
|
# Enable touchpad support (enabled default in most desktopManager).
|
||||||
# services.xserver.libinput.enable = true;
|
# services.xserver.libinput.enable = true;
|
||||||
|
@ -193,6 +227,9 @@
|
||||||
scrot
|
scrot
|
||||||
tldr
|
tldr
|
||||||
unzip
|
unzip
|
||||||
|
ncat
|
||||||
|
inetutils
|
||||||
|
screen
|
||||||
# automatic detection of display changes
|
# automatic detection of display changes
|
||||||
autorandr
|
autorandr
|
||||||
# password management
|
# password management
|
||||||
|
@ -239,6 +276,16 @@
|
||||||
ffmpeg-full
|
ffmpeg-full
|
||||||
# messenger
|
# messenger
|
||||||
tdesktop
|
tdesktop
|
||||||
|
signal-desktop
|
||||||
|
(weechat.override {
|
||||||
|
configure = { availablePlugins, ... }: {
|
||||||
|
scripts = with pkgs.weechatScripts; [
|
||||||
|
wee-slack
|
||||||
|
weechat-matrix
|
||||||
|
];
|
||||||
|
};
|
||||||
|
# extraBuildInputs = [ python38Packages.Logbook ];
|
||||||
|
})
|
||||||
# networking
|
# networking
|
||||||
openconnect
|
openconnect
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue