From 6ab7a2683f2c97b320804b521367b44844049b13 Mon Sep 17 00:00:00 2001 From: dadada Date: Tue, 17 Aug 2021 18:30:43 +0200 Subject: [PATCH] chromium with hardware accel --- home/home/pkgs.nix | 1 - nixos/gorgon/configuration.nix | 13 ++++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/home/home/pkgs.nix b/home/home/pkgs.nix index fd6026b..f3db093 100644 --- a/home/home/pkgs.nix +++ b/home/home/pkgs.nix @@ -10,7 +10,6 @@ with pkgs; [ aqbanking bash bluez-tools - chromium clang clang-tools php74Packages.composer diff --git a/nixos/gorgon/configuration.nix b/nixos/gorgon/configuration.nix index 7b8237f..72af629 100644 --- a/nixos/gorgon/configuration.nix +++ b/nixos/gorgon/configuration.nix @@ -75,7 +75,10 @@ in adminCredentialsFile = "/var/lib/miniflux/admin-credentials"; }; - environment.systemPackages = [ pkgs.ghostscript ]; + environment.systemPackages = with pkgs; [ + chromium + ghostscript + ]; networking.firewall = { enable = true; @@ -111,5 +114,13 @@ in "10.1.2.9" = [ "fgprinter.fginfo.tu-bs.de" ]; }; + hardware.opengl = { + enable = true; + extraPackages = with pkgs; [ + vaapiVdpau + libvdpau-va-gl + ]; + }; + system.stateVersion = "20.03"; }