forked from nyoom-engineering/nyoom.nvim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
35 lines (32 loc) · 879 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
description = ":rocket: Blazing Fast Neovim Configuration Written in fennel :rocket::rocket::stars:";
inputs.neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
outputs = {
self,
nixpkgs,
flake-utils,
neovim-nightly-overlay,
}:
flake-utils.lib.simpleFlake {
inherit self nixpkgs;
name = "nyoom.nvim";
preOverlays = [neovim-nightly-overlay.overlay];
shell = {pkgs}:
pkgs.mkShell {
# https://nix.dev/anti-patterns/language#with-attrset-expression
packages = builtins.attrValues {
inherit
(pkgs)
neovim-nightly
ripgrep
fennel
fnlfmt
nodejs
;
};
shellHook = ''
alias nvim="nvim -u $(pwd)/init.lua"
'';
};
};
}