diff --git a/users/myuser/graphical/default.nix b/users/myuser/graphical/default.nix index 765ea34..172cbd1 100644 --- a/users/myuser/graphical/default.nix +++ b/users/myuser/graphical/default.nix @@ -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"; diff --git a/users/myuser/graphical/firefox.nix b/users/myuser/graphical/firefox.nix new file mode 100644 index 0000000..56ec1fb --- /dev/null +++ b/users/myuser/graphical/firefox.nix @@ -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; + }; +}