2024-06-11 21:16:05 -04:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
inputs,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
2024-06-26 22:13:02 -04:00
|
|
|
config = lib.mkIf config.ar.base.enable {
|
2024-06-11 21:16:05 -04:00
|
|
|
nixpkgs = let
|
|
|
|
unstable = import inputs.nixpkgsUnstable {
|
|
|
|
system = pkgs.system;
|
|
|
|
config.allowUnfree = true; # Allow unfree packages
|
|
|
|
};
|
|
|
|
in {
|
|
|
|
config.allowUnfree = true; # Allow unfree packages
|
|
|
|
|
|
|
|
# Overlays over default packages.
|
|
|
|
overlays = [
|
2024-06-23 18:02:55 -04:00
|
|
|
inputs.nur.overlay
|
2024-06-11 21:16:05 -04:00
|
|
|
(final: prev: {
|
2024-07-06 11:28:37 -04:00
|
|
|
alyraffauf-wallpapers = inputs.wallpapers.packages.${pkgs.system}.default;
|
2024-06-11 21:16:05 -04:00
|
|
|
brave = prev.brave.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;
|
2024-07-06 11:28:37 -04:00
|
|
|
nerdfonts = prev.nerdfonts.override {fonts = ["Noto"];};
|
2024-07-01 22:59:41 -04:00
|
|
|
|
2024-06-12 08:04:03 -04:00
|
|
|
obsidian = prev.obsidian.overrideAttrs (old: {
|
2024-06-11 21:16:05 -04:00
|
|
|
installPhase =
|
|
|
|
builtins.replaceStrings ["--ozone-platform=wayland"]
|
|
|
|
["--ozone-platform=wayland --enable-wayland-ime"]
|
|
|
|
old.installPhase;
|
|
|
|
});
|
2024-07-01 22:59:41 -04:00
|
|
|
|
2024-06-22 20:20:30 -04:00
|
|
|
vscodium = prev.vscodium.override {commandLineArgs = "--enable-wayland-ime";};
|
2024-07-01 22:59:41 -04:00
|
|
|
|
2024-06-11 21:16:05 -04:00
|
|
|
webcord = prev.webcord.overrideAttrs (old: {
|
|
|
|
installPhase =
|
|
|
|
builtins.replaceStrings ["--ozone-platform-hint=auto"]
|
|
|
|
["--ozone-platform-hint=auto --enable-wayland-ime"]
|
|
|
|
old.installPhase;
|
|
|
|
});
|
2024-07-01 22:59:41 -04:00
|
|
|
|
2024-06-21 16:33:54 -04:00
|
|
|
xdg-desktop-portal-hyprland = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
|
2024-06-11 21:16:05 -04:00
|
|
|
})
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|