about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-27 16:42:46 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-27 16:42:46 +0200
commit9d8aa9c3c6f3d7ad29342fc4e8e64c66de6ede74 (patch)
tree6e3dad962a7ebe60c440b46d79c42063132e0704 /hosts
parentfmt (diff)
downloadnixos-config-9d8aa9c3c6f3d7ad29342fc4e8e64c66de6ede74.tar.gz
nixos-config-9d8aa9c3c6f3d7ad29342fc4e8e64c66de6ede74.tar.bz2
nixos-config-9d8aa9c3c6f3d7ad29342fc4e8e64c66de6ede74.zip
Enable hardware acceleration in selected hosts (phobos, luna)
Diffstat (limited to 'hosts')
-rw-r--r--hosts/luna/home.nix2
-rw-r--r--hosts/phobos/home.nix8
2 files changed, 8 insertions, 2 deletions
diff --git a/hosts/luna/home.nix b/hosts/luna/home.nix
index 6fd435e..87a5f0c 100644
--- a/hosts/luna/home.nix
+++ b/hosts/luna/home.nix
@@ -15,9 +15,7 @@ in
     kcc
   ];
 
-  #TODO: Can we just not update prev set?
   programs.firefox.profiles.default.settings = {
-    "general.autoScroll" = true; #TODO: This is aready set in parent home
     "media.ffmpeg.vaapi.enabled" = true; #Hardware acceleration
   };
 
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;