mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 23:00:39 +02:00
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, ...}: {
|
{pkgs, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
|
./firefox.nix
|
||||||
./kitty.nix
|
./kitty.nix
|
||||||
./sway.nix
|
./sway.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# TODO own file
|
|
||||||
programs.firefox.enable = true;
|
|
||||||
home.sessionVariables = {
|
|
||||||
MOZ_WEBRENDER = 1;
|
|
||||||
};
|
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
discord
|
discord
|
||||||
|
@ -22,8 +17,7 @@
|
||||||
|
|
||||||
# TODO VP9 hardware video decoding blocklisted
|
# TODO VP9 hardware video decoding blocklisted
|
||||||
# TODO gpg switch to sk
|
# TODO gpg switch to sk
|
||||||
# TODO some font icons not showing
|
# TODO some font icons not showing neovim
|
||||||
# TODO seogue ui
|
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
p = "cd ~/projects";
|
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