Fixefox X11 touchscreen

This commit is contained in:
Daniel Langbein 2023-09-11 13:05:48 +02:00
parent 9943aec1af
commit 89ac6a39e8
4 changed files with 30 additions and 1 deletions

View File

@ -33,6 +33,7 @@ in
../../modules/git.nix ../../modules/git.nix
../../modules/zsh.nix ../../modules/zsh.nix
../../modules/nitrokey-ssh-gpg.nix ../../modules/nitrokey-ssh-gpg.nix
../../modules/firefox.nix
../../modules/thunderbird.nix ../../modules/thunderbird.nix
]; ];

View File

@ -33,6 +33,7 @@ in
../../modules/git.nix ../../modules/git.nix
../../modules/zsh.nix ../../modules/zsh.nix
../../modules/nitrokey-ssh-gpg.nix ../../modules/nitrokey-ssh-gpg.nix
../../modules/firefox.nix
../../modules/thunderbird.nix ../../modules/thunderbird.nix
]; ];

14
modules/firefox.nix Normal file
View File

@ -0,0 +1,14 @@
{ config, pkgs, ... }:
{
users.users.yoda = {
packages = with pkgs; [
firefox # Web browser
];
};
# Touch input with Firefox under X11.
environment.sessionVariables = {
MOZ_USE_XINPUT2 = "1";
};
}

View File

@ -37,7 +37,6 @@
# Graphical Apps # Graphical Apps
gnome.gnome-tweaks gnome.gnome-tweaks
gnome.dconf-editor gnome.dconf-editor
firefox # Web browser
tor-browser-bundle-bin # Tor web browser tor-browser-bundle-bin # Tor web browser
keepassxc # Password manager keepassxc # Password manager
freetube # YouTube client freetube # YouTube client
@ -54,6 +53,7 @@
transmission-gtk # BitTorrent client transmission-gtk # BitTorrent client
meld # Diff and merge tool meld # Diff and merge tool
digikam # Photo organization digikam # Photo organization
handbrake # Rip DVD and Blu-ray; rotate and export videos
# Matrix clients # Matrix clients
element-desktop element-desktop
@ -65,4 +65,17 @@
#nheko #nheko
]; ];
}; };
# There is a community project providing declarative Flatpak app installations:
# https://github.com/GermanBread/declarative-flatpak
# This is probably a bit overkill for the few Flatpak apps I use.
# Let's just use the default way:
# https://nixos.wiki/wiki/Flatpak
services.flatpak.enable = true;
#
# TODO: These commands have to be executed manually.
# flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
# flatpak update
# # Trim, flip, rotate, crop and export individual clips.
# flatpak install io.gitlab.adhami3310.Footage
} }