diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-27 16:42:46 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-27 16:42:46 +0200 |
commit | 9d8aa9c3c6f3d7ad29342fc4e8e64c66de6ede74 (patch) | |
tree | 6e3dad962a7ebe60c440b46d79c42063132e0704 /hosts | |
parent | fmt (diff) | |
download | nixos-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.nix | 2 | ||||
-rw-r--r-- | hosts/phobos/home.nix | 8 |
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; |