config/packages/packages.nix

70 lines
2 KiB
Nix
Raw Normal View History

2022-03-17 21:49:05 +02:00
{ inputs, pkgs }:
let
2022-07-07 21:42:36 +03:00
tools = import ./lib/tools.nix;
patch' = super: tools.patch super "patches/base/${super.pname}";
2022-03-17 21:49:05 +02:00
dream2nix = inputs.dream2nix.lib2.init {
inherit pkgs;
config = {
projectRoot = ./dream2nix;
overridesDirs = [ "${inputs.dream2nix}/overrides" ./dream2nix/overrides ];
};
};
mkNixPak = inputs.nixpak.lib.nixpak {
inherit (pkgs) lib;
inherit pkgs;
};
2022-07-07 21:42:36 +03:00
sandbox = path: extra: (pkgs.callPackage path ({ inherit mkNixPak; } // extra)).config.env;
2022-03-17 21:49:05 +02:00
in
{
2022-07-07 21:42:36 +03:00
amberol = sandbox ./nixpak/amberol { };
2022-06-14 22:17:15 +03:00
brig = pkgs.callPackage ./tools/brig { };
2023-05-02 23:43:04 +03:00
dialect = sandbox ./nixpak/dialect { };
2023-06-15 17:24:28 +03:00
evil = pkgs.linuxPackages_latest.callPackage ./networking/evil { };
2022-02-05 21:42:36 +02:00
jdtls = pkgs.callPackage ./development/langservers/jdtls.nix { };
doom-one-vim = pkgs.callPackage ./vim-plugins/doom-one-vim.nix { };
2022-07-07 21:42:36 +03:00
fragments-remote = let
fakeTransmission = pkgs.writeShellScriptBin "transmission-daemon" ''
exec ${pkgs.coreutils}/bin/sleep +Infinity
'';
app = pkgs.fragments.overrideAttrs (_: {
preFixup = ''
gappsWrapperArgs+=(
--prefix PATH : "${pkgs.lib.makeBinPath [ fakeTransmission ] }"
)
'';
});
in sandbox ./nixpak/fragments { fragments = app; };
git-remote-ipld = pkgs.callPackage ./tools/git-remote-ipld { };
2022-02-05 21:42:36 +02:00
hyprspace = pkgs.callPackage ./networking/hyprspace { iproute2mac = null; };
identity = pkgs.callPackage ./apps/identity { };
obfuscate = pkgs.callPackage ./apps/obfuscate { };
2022-02-05 21:42:36 +02:00
neovim-gtk = pkgs.callPackage ./apps/neovim-gtk { };
2023-03-04 10:10:14 +02:00
sonnyp-commit = pkgs.callPackage ./apps/sonnyp-commit { };
2022-02-05 21:42:36 +02:00
steam-metro-skin = import ./data/misc/steam-metro-skin { inherit (pkgs) fetchzip; };
2022-11-14 19:03:53 +02:00
2023-04-30 00:58:33 +03:00
tubefeeder = pkgs.callPackage ./apps/tubefeeder { };
ungoogled-chromium = sandbox ./nixpak/ungoogled-chromium { };
2022-11-14 19:03:53 +02:00
vaults = pkgs.callPackage ./apps/vaults { };
2023-04-22 19:12:44 +03:00
webfont-kit-generator = pkgs.callPackage ./apps/webfont-kit-generator { };
2023-04-22 19:12:44 +03:00
wike = sandbox ./nixpak/wike { };
2022-02-05 21:42:36 +02:00
}