-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathflake.nix
More file actions
46 lines (44 loc) · 1.11 KB
/
flake.nix
File metadata and controls
46 lines (44 loc) · 1.11 KB
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
36
37
38
39
40
41
42
43
44
45
46
{
description = "Kaffediem flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs =
{ nixpkgs, ... }@inputs:
let
lib = nixpkgs.lib;
systems = lib.systems.flakeExposed;
pkgsFor = lib.genAttrs systems (system: import nixpkgs { inherit system; });
forEachSystem = f: lib.genAttrs systems (system: f pkgsFor.${system});
in
{
devShells = forEachSystem (
pkgs: with pkgs; rec {
default = mkShell {
nativeBuildInputs = [
unzip
# Nix
nixd
nixfmt-rfc-style
statix
# Plantuml
plantuml
# JS
nodejs_20
nodePackages.typescript-language-server
nodePackages.typescript
bun
emmet-ls
vscode-langservers-extracted
prettierd
tailwindcss-language-server
svelte-language-server
# DB
elixir
elixir-ls
];
};
}
);
};
}