forked from mirrors_public/oddlama_nix-config
chore: split firefox nix config to own file
This commit is contained in:
parent
4e622697a1
commit
e8a12ff409
2 changed files with 13 additions and 8 deletions
|
@ -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";
|
||||
|
|
11
users/myuser/graphical/firefox.nix
Normal file
11
users/myuser/graphical/firefox.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue