move intel-vaapi-driver overrides to overlays

This commit is contained in:
Aly Raffauf 2024-06-21 16:33:54 -04:00
parent f63b229cd8
commit 860d801a12
4 changed files with 4 additions and 19 deletions

View file

@ -21,13 +21,7 @@
kernelModules = ["kvm-intel"];
};
# Intel drivers with accelerated video playback support.
nixpkgs = {
config.packageOverrides = pkgs: {
intel-vaapi-driver =
pkgs.intel-vaapi-driver.override {enableHybridCodec = true;};
};
hostPlatform = lib.mkDefault "x86_64-linux";
};

View file

@ -24,11 +24,6 @@
# Intel drivers with accelerated video playback support.
nixpkgs = {
config.packageOverrides = pkgs: {
intel-vaapi-driver =
pkgs.intel-vaapi-driver.override {enableHybridCodec = true;};
};
hostPlatform = lib.mkDefault "x86_64-linux";
};

View file

@ -36,14 +36,9 @@
};
nixpkgs = {
config.packageOverrides = pkgs: {
# Intel drivers with accelerated video playback support.
intel-vaapi-driver =
pkgs.intel-vaapi-driver.override {enableHybridCodec = true;};
};
hostPlatform = lib.mkDefault "x86_64-linux";
};
hardware = {
cpu.intel.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;

View file

@ -34,12 +34,12 @@
accent = "mauve";
};
catppuccin-plymouth = prev.catppuccin-plymouth.override {variant = "frappe";};
nerdfonts = prev.nerdfonts.override {fonts = ["Noto"];};
google-chrome = prev.google-chrome.override {commandLineArgs = "--gtk-version=4 --enable-wayland-ime";};
hyprland = inputs.hyprland.packages.${pkgs.system}.hyprland;
hyprnome = unstable.hyprnome;
hyprshot = unstable.hyprshot;
xdg-desktop-portal-hyprland = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
intel-vaapi-driver = prev.intel-vaapi-driver.override {enableHybridCodec = true;};
nerdfonts = prev.nerdfonts.override {fonts = ["Noto"];};
obsidian = prev.obsidian.overrideAttrs (old: {
installPhase =
builtins.replaceStrings ["--ozone-platform=wayland"]
@ -55,6 +55,7 @@
["--ozone-platform-hint=auto --enable-wayland-ime"]
old.installPhase;
});
xdg-desktop-portal-hyprland = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
})
];
};