refactor: remove hyrpland overlay

This commit is contained in:
Moritz Böhme 2023-09-10 15:05:56 +02:00
parent d6d2897eb6
commit 749e2cf67d
Signed by: moritz
GPG key ID: 970C6E89EB0547A9
3 changed files with 3 additions and 2 deletions

View file

@ -86,7 +86,6 @@
overlays = [ overlays = [
inputs.hypr-contrib.overlays.default inputs.hypr-contrib.overlays.default
inputs.hyprland.overlays.default
inputs.neovim-nightly-overlay.overlay inputs.neovim-nightly-overlay.overlay
overlay overlay
]; ];

View file

@ -9,7 +9,8 @@ with lib;
let let
cfg = config.my.programs.hyprland; cfg = config.my.programs.hyprland;
hyprland = pkgs.hyprland.override { enableNvidiaPatches = cfg.nvidiaSupport; }; hyprland-nvidia = pkgs.hyprland.override { enableNvidiaPatches = true; };
hyprland = if cfg.nvidiaSupport then hyprland-nvidia else pkgs.hyprland;
in in
{ {
options.my.programs.hyprland = { options.my.programs.hyprland = {

View file

@ -11,6 +11,7 @@ final: prev:
version = lib.my.mkVersionInput inputs.rofi-wayland; version = lib.my.mkVersionInput inputs.rofi-wayland;
}); });
timers = inputs.timers.packages.${prev.system}.default; timers = inputs.timers.packages.${prev.system}.default;
hyprland = inputs.hyprland.packages.${prev.system}.default;
fzf1 = final.writeShellApplication { fzf1 = final.writeShellApplication {
name = "fzf1"; name = "fzf1";