chore: split firefox nix config to own file

This commit is contained in:
oddlama 2023-09-05 01:31:37 +02:00
parent 4e622697a1
commit e8a12ff409
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 13 additions and 8 deletions

View file

@ -1,15 +1,10 @@
{pkgs, ...}: {
imports = [
./firefox.nix
./kitty.nix
./sway.nix
];
# TODO own file
programs.firefox.enable = true;
home.sessionVariables = {
MOZ_WEBRENDER = 1;
};
home = {
packages = with pkgs; [
discord
@ -22,8 +17,7 @@
# TODO VP9 hardware video decoding blocklisted
# TODO gpg switch to sk
# TODO some font icons not showing
# TODO seogue ui
# TODO some font icons not showing neovim
shellAliases = {
p = "cd ~/projects";

View file

@ -0,0 +1,11 @@
{
programs.firefox.enable = true;
home.sessionVariables = {
MOZ_WEBRENDER = 1;
# For a better scrolling implementation and touch support.
# Be sure to also disable "Use smooth scrolling" in about:preferences
MOZ_USE_XINPUT2 = 1;
# To allow vaapi access for hardware acceleration
MOZ_DISABLE_RDD_SANDBOX = 1;
};
}