-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathflake.nix
More file actions
24 lines (22 loc) · 803 Bytes
/
flake.nix
File metadata and controls
24 lines (22 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
description = "Dev Shell For Silicon";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils/master";
devshell.url = "github:numtide/devshell/master";
nvim-nightly.url = "github:nix-community/neovim-nightly-overlay";
};
outputs = { self, nixpkgs, flake-utils, nvim-nightly, devshell }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
overlays = [ devshell.overlay nvim-nightly.overlay ];
};
in {
devShell = pkgs.devshell.mkShell {
name = "silicon-dev-shell";
packages = with pkgs; [ neovim-nightly stylua selene sumneko-lua-language-server alejandra rnix-lsp luajit silicon ];
};
});
}