-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevenv.nix
More file actions
45 lines (37 loc) · 1.04 KB
/
devenv.nix
File metadata and controls
45 lines (37 loc) · 1.04 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
{ pkgs, lib, config, ... }:
{
packages = with pkgs;
[
#
git
# lefthook
# nodejs_24
# pgcli
# secretspec
] ++ lib.optionals pkgs.stdenv.isLinux [ inotify-tools libnotify ]
++ lib.optionals pkgs.stdenv.isDarwin [
terminal-notifier
darwin.apple_sdk.frameworks.CoreFoundation
darwin.apple_sdk.frameworks.CoreServices
];
languages.elixir = { enable = true; };
# services.adminer.enable = true;
# services.postgres = {
# enable = true;
# port = 5432;
# initialDatabases = [ { name = "wik_dev"; } { name = "wik_test"; } ];
# initialScript = ''
# CREATE ROLE postgres SUPERUSER LOGIN;
# '';
# };
processes.phx-server = {
exec = "PORT=4000 mix phx.server";
# if your Phoenix app is in a subdir, set cwd explicitly, e.g.:
# cwd = "${config.git.root}/youmap";
};
process.manager.implementation = "overmind";
# enable iex history
env.ERL_AFLAGS = "-kernel shell_history enabled";
#
# env.REDIS_URL = config.secretspec.secrets.REDIS_URL;
}