move hyprland overlays to nixosModules/desktop/hyprland

This commit is contained in:
Aly Raffauf 2024-07-07 19:41:07 -04:00
parent dbb3ec3895
commit 5902de4177
2 changed files with 8 additions and 3 deletions

View file

@ -20,7 +20,6 @@
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";};
hyprland = inputs.hyprland.packages.${pkgs.system}.hyprland;
nerdfonts = prev.nerdfonts.override {fonts = ["Noto"];};
obsidian = prev.obsidian.overrideAttrs (old: {
@ -38,8 +37,6 @@
["--ozone-platform-hint=auto --enable-wayland-ime"]
old.installPhase;
});
xdg-desktop-portal-hyprland = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
})
];
};

View file

@ -1,5 +1,6 @@
{
config,
inputs,
lib,
pkgs,
...
@ -18,6 +19,13 @@
];
};
nixpkgs.overlays = [
(final: prev: {
hyprland = inputs.hyprland.packages.${pkgs.system}.hyprland;
xdg-desktop-portal-hyprland = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
})
];
programs = {
hyprland = {
enable = true;