mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 06:33:56 -05:00
move intel-vaapi-driver overrides to overlays
This commit is contained in:
parent
f63b229cd8
commit
860d801a12
|
@ -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";
|
||||
};
|
||||
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
})
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue