feat: firefox hw accel and fuzzel launcher
This commit is contained in:
parent
3de23c6cb4
commit
cab1f193f3
|
@ -2,7 +2,7 @@
|
|||
imports = [
|
||||
./kitty.nix
|
||||
./sway
|
||||
./rofi.nix
|
||||
./fuzzel.nix
|
||||
./firefox.nix
|
||||
];
|
||||
home = {
|
||||
|
|
|
@ -1,4 +1,17 @@
|
|||
{config, ...}: {
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit
|
||||
(pkgs)
|
||||
fetchFromGitHub
|
||||
;
|
||||
inherit
|
||||
(builtins)
|
||||
readFile
|
||||
;
|
||||
in {
|
||||
home = {
|
||||
sessionVariables = {
|
||||
# Firefox touch support
|
||||
|
@ -19,8 +32,6 @@
|
|||
programs.firefox = {
|
||||
enable = true;
|
||||
profiles.patrick = {
|
||||
# For this to work you need to enable about:config
|
||||
# toolkit.legacyUserProfileCustomizations.stylesheets = true
|
||||
userChrome = ''
|
||||
#TabsToolbar {
|
||||
visibility: collapse;
|
||||
|
@ -34,6 +45,19 @@
|
|||
height: 32px !important;
|
||||
}
|
||||
'';
|
||||
settings = {
|
||||
# user chrome soll funzen
|
||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||
# nvidia hardware video decode
|
||||
# https://github.com/elFarto/nvidia-vaapi-driver
|
||||
"media.ffmpeg.vaapi.enabled" = true;
|
||||
"media.rdd-ffmpeg.enabled" = true;
|
||||
"gfx.x11-egl.force-enabled" = true;
|
||||
# enable if grapics card support av1
|
||||
"media.av1.enabled" = false;
|
||||
"widget.dmabuf.force-enabled" = true;
|
||||
# privacy is mir auch wichtig
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
7
users/common/graphical/fuzzel.nix
Normal file
7
users/common/graphical/fuzzel.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
(writeShellScriptBin "fuzzel" ''
|
||||
${fuzzel}/bin/fuzzel --background-color=000000ff
|
||||
'')
|
||||
];
|
||||
}
|
|
@ -14,7 +14,7 @@
|
|||
{
|
||||
modifier = "Mod4";
|
||||
terminal = "kitty";
|
||||
menu = "rofi -show run";
|
||||
menu = "fuzzel";
|
||||
input = {
|
||||
"*" = {
|
||||
xkb_layout = "de,de";
|
||||
|
|
|
@ -4,13 +4,10 @@
|
|||
...
|
||||
}: {
|
||||
home.persistence."/state" = {
|
||||
files = with lib.lists;
|
||||
[
|
||||
".ssh/known_hosts"
|
||||
]
|
||||
++ optionals config.programs.rofi.enable [
|
||||
#".cache/rofi-3.runcache"
|
||||
];
|
||||
files = with lib.lists; [
|
||||
".ssh/known_hosts"
|
||||
".cache/fuzzel"
|
||||
];
|
||||
directories = with lib.lists;
|
||||
[]
|
||||
++
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
packages = with pkgs; [
|
||||
nextcloud-client
|
||||
discord
|
||||
sirula
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue