about summary refs log tree commit diff
path: root/hosts/phobos
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/phobos')
-rw-r--r--hosts/phobos/home.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/hosts/phobos/home.nix b/hosts/phobos/home.nix
index 3238db6..8708ead 100644
--- a/hosts/phobos/home.nix
+++ b/hosts/phobos/home.nix
@@ -15,6 +15,10 @@ in
     kcc
   ];
 
+  programs.firefox.profiles.default.settings = {
+    "media.ffmpeg.vaapi.enabled" = true; #Hardware acceleration
+  };
+
   xdg.configFile = {
     "dwmbar/config".text = ''
       #!/bin/sh
@@ -111,6 +115,10 @@ in
         XF86TouchpadToggle
         	exec ~/.config/i3/scripts/toggletouchpad.sh
       '';
+
+    "mpv/mpv.conf".text = ''
+      hwdec
+    '';
   };
 
   home.file.".cache/nix-index/files".source = inputs.nix-index.legacyPackages.x86_64-linux.database;