From c6278da5728f88cd2f254992f7555d05df8382eb Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 18 Sep 2023 11:12:19 +0200 Subject: fix xkb; fix qutebrowser config --- nixos/common.nix | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'nixos') diff --git a/nixos/common.nix b/nixos/common.nix index bcecd32..1917f1a 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -82,9 +82,6 @@ in description = "French (LX custom azerty)"; languages = ["fre"]; symbolsFile = ../xkb/symbols/fr-custom-lx; - compatFile = ../xkb/compat/fr-custom-lx; - typesFile = ../xkb/types/fr-custom-lx; - keycodesFile = ../xkb/keycodes/fr-custom-lx; }; # Enable CUPS to print documents. @@ -136,12 +133,27 @@ in keep-derivations = true ''; + nixpkgs.overlays = [ + # fix jellyfin media player to not try to use wayland-egl backend + (self: super: { + jellyfin-media-player = pkgs.symlinkJoin { + name = "jellyfin-media-player"; + paths = [ super.jellyfin-media-player ]; + buildInputs = [ pkgs.makeWrapper ]; + postBuild = '' + wrapProgram $out/bin/jellyfinmediaplayer --set QT_QPA_PLATFORM xcb + ''; + }; + }) + ]; + fonts.fonts = with pkgs; [ profont symbola ipafont hanazono takao + font-awesome ]; environment.systemPackages = with pkgs; [ @@ -208,7 +220,7 @@ in alacritty firefox qutebrowser - (tor-browser-bundle-bin.override { useHardenedMalloc = false; }) + tor-browser-bundle-bin lagrange thunderbird qbittorrent -- cgit v1.2.3