mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-27 07:09:48 +01:00
22 lines
445 B
Nix
22 lines
445 B
Nix
|
{lib, ...}: {
|
||
|
perSystem = {
|
||
|
system,
|
||
|
config,
|
||
|
...
|
||
|
}: {
|
||
|
apps =
|
||
|
{
|
||
|
nix.program = lib.getExe config.packages.nix;
|
||
|
maximal.program = lib.getExe config.packages.maximal;
|
||
|
default = config.apps.nix;
|
||
|
}
|
||
|
// (
|
||
|
if !(builtins.elem system ["aarch64-darwin" "x86_64-darwin"])
|
||
|
then {
|
||
|
tidal.program = lib.getExe config.packages.tidal;
|
||
|
}
|
||
|
else {}
|
||
|
);
|
||
|
};
|
||
|
}
|