about summary refs log tree commit diff
path: root/home/modules/urbint/backend.nix
blob: ed8a3a3e7a766031ee8b0fcf1ef184f879c6800a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ config, lib, pkgs, ... }:

{
  imports = [
    ./common.nix
  ];

  home.packages = with pkgs; [
    cloud-sql-proxy
    postgresql
    jupyter
    python3Packages.jupyter_core
    redis
    ngrok-2
  ];

  home.file.".ipython/profile_default/ipython_config.py".text = ''
    c.InteractiveShellApp.exec_lines = ['%autoreload 2']
    c.InteractiveShellApp.extensions = ['autoreload']
    c.TerminalInteractiveShell.editing_mode = 'vi'
  '';
}