mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-24 15:31:55 -05:00
44 lines
1.3 KiB
Nix
44 lines
1.3 KiB
Nix
{
|
|
config,
|
|
inputs,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
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 = [
|
|
inputs.nur.overlay
|
|
(final: prev: {
|
|
alyraffauf-wallpapers = inputs.wallpapers.packages.${pkgs.system}.default;
|
|
brave = prev.brave.override {commandLineArgs = "--gtk-version=4 --enable-wayland-ime";};
|
|
google-chrome = prev.google-chrome.override {commandLineArgs = "--gtk-version=4 --enable-wayland-ime";};
|
|
nerdfonts = prev.nerdfonts.override {fonts = ["Noto"];};
|
|
|
|
obsidian = prev.obsidian.overrideAttrs (old: {
|
|
installPhase =
|
|
builtins.replaceStrings ["--ozone-platform=wayland"]
|
|
["--ozone-platform=wayland --enable-wayland-ime"]
|
|
old.installPhase;
|
|
});
|
|
|
|
vscodium = prev.vscodium.override {commandLineArgs = "--enable-wayland-ime";};
|
|
|
|
webcord = prev.webcord.overrideAttrs (old: {
|
|
installPhase =
|
|
builtins.replaceStrings ["--ozone-platform-hint=auto"]
|
|
["--ozone-platform-hint=auto --enable-wayland-ime"]
|
|
old.installPhase;
|
|
});
|
|
})
|
|
];
|
|
};
|
|
}
|