Re-add bluetooth

I forgot
This commit is contained in:
Geoffrey Frogeye 2023-12-16 17:07:44 +01:00
parent 88ef6925a4
commit c59ee11696
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
2 changed files with 19 additions and 12 deletions

View file

@ -587,6 +587,7 @@ in
}; };
}; };
services = { services = {
blueman-applet.enable = true;
unclutter.enable = true; unclutter.enable = true;
dunst = dunst =
{ {

View file

@ -3,16 +3,18 @@
config = lib.mkIf config.frogeye.desktop.xorg { config = lib.mkIf config.frogeye.desktop.xorg {
# Enable the X11 windowing system # Enable the X11 windowing system
services.xserver = { services = {
enable = true; blueman.enable = true;
windowManager.i3.enable = true; xserver = {
displayManager.defaultSession = "none+i3"; enable = true;
windowManager.i3.enable = true;
displayManager.defaultSession = "none+i3";
# Keyboard layout # Keyboard layout
extraLayouts.qwerty-fr = { extraLayouts.qwerty-fr = {
description = "QWERTY-fr"; description = "QWERTY-fr";
languages = [ "fr" ]; languages = [ "fr" ];
symbolsFile = "${pkgs.stdenv.mkDerivation { symbolsFile = "${pkgs.stdenv.mkDerivation {
name = "qwerty-fr-keypad"; name = "qwerty-fr-keypad";
src = builtins.fetchGit { src = builtins.fetchGit {
url = "https://github.com/qwerty-fr/qwerty-fr.git"; url = "https://github.com/qwerty-fr/qwerty-fr.git";
@ -27,13 +29,17 @@
runHook postInstall runHook postInstall
''; '';
}}/linux/us_qwerty-fr"; }}/linux/us_qwerty-fr";
};
layout = "qwerty-fr";
}; };
layout = "qwerty-fr";
}; };
# Enable sound # Enable sound & bluetooth
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = true; hardware = {
bluetooth.enable = true;
pulseaudio.enable = true;
};
# UPST # UPST
# TODO Find a way to override packages either at NixOS level or HM level depending on what is used # TODO Find a way to override packages either at NixOS level or HM level depending on what is used