Added bluetooth
This commit is contained in:
parent
b426131d68
commit
d7af60e18c
|
@ -23,6 +23,7 @@
|
|||
elisa # Elisa music player
|
||||
firefoxWrapper # install Firefox with support for plugins
|
||||
libreoffice-fresh
|
||||
mplayer # A movie player that supports many video formats
|
||||
plasma-workspace-wallpapers
|
||||
user-manager
|
||||
nextcloud-client # Nextcloud desktop client
|
||||
|
@ -35,6 +36,7 @@
|
|||
|
||||
# Enable common desktop services
|
||||
services.acpid.enable = true;
|
||||
services.blueman.enable = true;
|
||||
powerManagement.enable = true;
|
||||
|
||||
services.xserver.enable = true;
|
||||
|
@ -43,15 +45,24 @@
|
|||
services.xserver.desktopManager.plasma5.enable = true; # Enable KDE
|
||||
|
||||
sound.enable = true; # Enable sound.
|
||||
hardware.pulseaudio = {
|
||||
hardware = {
|
||||
pulseaudio = {
|
||||
enable = true;
|
||||
extraModules = [ pkgs.pulseaudio-modules-bt ];
|
||||
package = pkgs.pulseaudioFull;
|
||||
};
|
||||
hardware.bluetooth.enable = true; # Enable bluetooth
|
||||
hardware.bluetooth.extraConfig = "
|
||||
bluetooth = {
|
||||
enable = true; # Enable bluetooth
|
||||
extraConfig = "
|
||||
[General]
|
||||
Enable=Source,Sink,Media,Socket
|
||||
|
||||
[Policy]
|
||||
AutoEnable=true
|
||||
";
|
||||
};
|
||||
opengl.enable = true;
|
||||
};
|
||||
|
||||
# Configure Firefox and Chromium
|
||||
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"
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue