dotfiles/overlays/default.nix

31 lines
1.0 KiB
Nix
Raw Normal View History

2022-07-15 13:11:54 +02:00
{ inputs }: final: prev: {
2023-02-17 12:31:31 +01:00
neovim-nightly = inputs.neovim.packages.${prev.system}.default;
2022-12-23 12:37:57 +01:00
logseq-wayland = prev.symlinkJoin {
2022-12-30 18:58:13 +01:00
name = "logseq-wayland";
2022-12-23 12:37:57 +01:00
paths = [ prev.logseq ];
nativeBuildInputs = [ prev.makeWrapper ];
postBuild = ''
wrapProgram $out/bin/logseq \
--add-flags "--socket=wayland --enable-features=UseOzonePlatform --ozone-platform=wayland"
'';
};
waybar-hyprland = prev.waybar.overrideAttrs (old: {
pname = "${old.pname}-hyprland";
postPatch = old.postPatch or "" + ''
sed -i 's,zext_workspace_handle_v1_activate(workspace_handle_);,const std::string command = "${final.hyprland}/bin/hyprctl dispatch workspace " + name_;\n\tsystem(command.c_str());,g' src/modules/wlr/workspace_manager.cpp
'';
mesonFlags = old.mesonFlags or [ ] ++ [ "-Dexperimental=true" ];
});
2022-03-21 13:23:54 +01:00
master = import inputs.master {
inherit (prev) system;
config.allowUnfree = true;
};
2021-10-19 11:55:23 +02:00
stable = import inputs.stable {
2021-10-31 15:24:24 +01:00
inherit (prev) system;
2021-09-14 23:34:44 +02:00
config.allowUnfree = true;
};
2021-09-11 12:27:37 +02:00
}