From c145de3b20aab9d7477f2c2f8aa33a251950e7ec Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Sun, 24 Sep 2023 21:16:44 +0200 Subject: [PATCH 1/2] Add graphics related configurations --- hosts/morty/hardware-configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hosts/morty/hardware-configuration.nix b/hosts/morty/hardware-configuration.nix index 69564b3..bb4c1ce 100644 --- a/hosts/morty/hardware-configuration.nix +++ b/hosts/morty/hardware-configuration.nix @@ -42,4 +42,12 @@ swapDevices = [ ]; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + hardware.opengl.enable = true; + hardware.opengl.driSupport = true; + hardware.opengl.driSupport32Bit = true; + hardware.opengl.extraPackages = with pkgs; [ + intel-media-driver + ]; } From a891a0bead19be9beaeba9ab1f2362feed159945 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Sun, 24 Sep 2023 21:17:20 +0200 Subject: [PATCH 2/2] Add kdenlive related packages --- home-manager/hosts/morty.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home-manager/hosts/morty.nix b/home-manager/hosts/morty.nix index 06c3036..ed88a27 100644 --- a/home-manager/hosts/morty.nix +++ b/home-manager/hosts/morty.nix @@ -31,6 +31,8 @@ xkb_symbols "us-intl-winmax" { home.packages = with pkgs; [ kdenlive + ffmpeg-full + frei0r inkscape ];