mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 07:13:55 -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"];
|
kernelModules = ["kvm-intel"];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Intel drivers with accelerated video playback support.
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
config.packageOverrides = pkgs: {
|
|
||||||
intel-vaapi-driver =
|
|
||||||
pkgs.intel-vaapi-driver.override {enableHybridCodec = true;};
|
|
||||||
};
|
|
||||||
|
|
||||||
hostPlatform = lib.mkDefault "x86_64-linux";
|
hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -24,11 +24,6 @@
|
||||||
|
|
||||||
# Intel drivers with accelerated video playback support.
|
# Intel drivers with accelerated video playback support.
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
config.packageOverrides = pkgs: {
|
|
||||||
intel-vaapi-driver =
|
|
||||||
pkgs.intel-vaapi-driver.override {enableHybridCodec = true;};
|
|
||||||
};
|
|
||||||
|
|
||||||
hostPlatform = lib.mkDefault "x86_64-linux";
|
hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -36,14 +36,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs = {
|
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";
|
hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
cpu.intel.updateMicrocode =
|
cpu.intel.updateMicrocode =
|
||||||
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|
|
@ -34,12 +34,12 @@
|
||||||
accent = "mauve";
|
accent = "mauve";
|
||||||
};
|
};
|
||||||
catppuccin-plymouth = prev.catppuccin-plymouth.override {variant = "frappe";};
|
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";};
|
google-chrome = prev.google-chrome.override {commandLineArgs = "--gtk-version=4 --enable-wayland-ime";};
|
||||||
hyprland = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
hyprland = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||||
hyprnome = unstable.hyprnome;
|
hyprnome = unstable.hyprnome;
|
||||||
hyprshot = unstable.hyprshot;
|
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: {
|
obsidian = prev.obsidian.overrideAttrs (old: {
|
||||||
installPhase =
|
installPhase =
|
||||||
builtins.replaceStrings ["--ozone-platform=wayland"]
|
builtins.replaceStrings ["--ozone-platform=wayland"]
|
||||||
|
@ -55,6 +55,7 @@
|
||||||
["--ozone-platform-hint=auto --enable-wayland-ime"]
|
["--ozone-platform-hint=auto --enable-wayland-ime"]
|
||||||
old.installPhase;
|
old.installPhase;
|
||||||
});
|
});
|
||||||
|
xdg-desktop-portal-hyprland = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue