diff options
| author | Baitinq <[email protected]> | 2022-06-27 16:42:46 +0200 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2022-06-27 16:42:46 +0200 |
| commit | 054eeb8f582dee2fc8eaab9fcfcb758dbfb5b348 (patch) | |
| tree | 418768644a5706c2d3c0b00b0c80f5faec8402bc /hosts/phobos | |
| parent | fmt (diff) | |
| download | nixos-config-054eeb8f582dee2fc8eaab9fcfcb758dbfb5b348.tar.gz nixos-config-054eeb8f582dee2fc8eaab9fcfcb758dbfb5b348.tar.bz2 nixos-config-054eeb8f582dee2fc8eaab9fcfcb758dbfb5b348.zip | |
Enable hardware acceleration in selected hosts (phobos, luna)
Diffstat (limited to 'hosts/phobos')
| -rw-r--r-- | hosts/phobos/home.nix | 8 |
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; |