Added bluetooth

This commit is contained in:
Serĉanto de Scio 2020-01-06 10:45:20 +10:00
parent b426131d68
commit d7af60e18c
Signed by: sercanto
GPG key ID: A4122FF3971B6865

View file

@ -23,6 +23,7 @@
elisa # Elisa music player elisa # Elisa music player
firefoxWrapper # install Firefox with support for plugins firefoxWrapper # install Firefox with support for plugins
libreoffice-fresh libreoffice-fresh
mplayer # A movie player that supports many video formats
plasma-workspace-wallpapers plasma-workspace-wallpapers
user-manager user-manager
nextcloud-client # Nextcloud desktop client nextcloud-client # Nextcloud desktop client
@ -35,6 +36,7 @@
# Enable common desktop services # Enable common desktop services
services.acpid.enable = true; services.acpid.enable = true;
services.blueman.enable = true;
powerManagement.enable = true; powerManagement.enable = true;
services.xserver.enable = true; services.xserver.enable = true;
@ -43,15 +45,24 @@
services.xserver.desktopManager.plasma5.enable = true; # Enable KDE services.xserver.desktopManager.plasma5.enable = true; # Enable KDE
sound.enable = true; # Enable sound. sound.enable = true; # Enable sound.
hardware.pulseaudio = { hardware = {
pulseaudio = {
enable = true; enable = true;
extraModules = [ pkgs.pulseaudio-modules-bt ];
package = pkgs.pulseaudioFull; package = pkgs.pulseaudioFull;
}; };
hardware.bluetooth.enable = true; # Enable bluetooth bluetooth = {
hardware.bluetooth.extraConfig = " enable = true; # Enable bluetooth
extraConfig = "
[General] [General]
Enable=Source,Sink,Media,Socket Enable=Source,Sink,Media,Socket
[Policy]
AutoEnable=true
"; ";
};
opengl.enable = true;
};
# Configure Firefox and Chromium # Configure Firefox and Chromium
nixpkgs.config = { nixpkgs.config = {
@ -72,4 +83,29 @@
}; };
}; };
# Groups to add
users.groups = {
audio.members = [
"craige"
"fiona"
"hamish"
"logan"
"xander"
];
libvirtd.members = [
"craige"
"fiona"
"hamish"
"logan"
"xander"
];
networkmanager.members = [
"craige"
"fiona"
"hamish"
"logan"
"xander"
];
};
} }