mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
this did not work due to a missing/wrong implementation of pipewire and xdg-portal. Now screensharing works in Microsoft Teams, Firefox as well as Discord. This also adds the safeeyes service.
38 lines
782 B
Nix
38 lines
782 B
Nix
{ pkgs, config, lib, ... }:
|
|
{
|
|
|
|
hardware = {
|
|
graphics = {
|
|
enable = true;
|
|
enable32Bit = true;
|
|
};
|
|
|
|
trackpoint = lib.mkIf config.swarselsystems.trackpoint.isAvailable {
|
|
enable = true;
|
|
inherit (config.swarselsystems.trackpoint) device;
|
|
};
|
|
|
|
keyboard.qmk.enable = true;
|
|
|
|
|
|
|
|
pulseaudio = {
|
|
enable = lib.mkIf (!config.services.pipewire.enable) true;
|
|
package = pkgs.pulseaudioFull;
|
|
};
|
|
|
|
enableAllFirmware = true;
|
|
|
|
bluetooth = lib.mkIf config.swarselsystems.hasBluetooth {
|
|
enable = true;
|
|
powerOnBoot = true;
|
|
settings = {
|
|
General = {
|
|
Enable = "Source,Sink,Media,Socket";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
services.fprintd.enable = lib.mkIf config.swarselsystems.hasFingerprint true;
|
|
}
|