/ modules / home / programs / lazysql.nix
lazysql.nix
 1  {
 2    programs.lazysql = {
 3      enable = true;
 4      settings = {
 5        application = {
 6          DefaultPageSize = 300;
 7          DisableSidebar = false;
 8          SidebarOverlay = false;
 9        };
10  
11        database = [
12          {
13            Name = "💻 Development";
14            URL = "postgresql://postgres:postgres@127.0.0.1:54322/postgres?sslmode=disable";
15            Provider = "postgres";
16            Username = "";
17            Password = "";
18            Hostname = "";
19            Port = "";
20            DBName = "postgres";
21            URLParams = "";
22            Commands = [ ];
23          }
24          {
25            Name = "🚢 Production";
26            URL = "postgres://postgres:password@127.0.0.1:5432/postgres?sslmode=false";
27            Provider = "postgres";
28            Username = "";
29            Password = "";
30            Hostname = "";
31            Port = "";
32            DBName = "postgres";
33            URLParams = "";
34            Commands = [ ];
35          }
36          {
37            Name = "🐁 SQLite";
38            URL = "./libs/db/sqlite.db";
39            Provider = "sqlite3";
40            Username = "";
41            Password = "";
42            Hostname = "";
43            Port = "";
44            DBName = "";
45            URLParams = "";
46            Commands = [ ];
47          }
48          {
49            Name = "❄ devenv";
50            URL = ".devenv/nix-eval-cache.db";
51            Provider = "sqlite3";
52            Username = "";
53            Password = "";
54            Hostname = "";
55            Port = "";
56            DBName = "";
57            URLParams = "";
58            Commands = [ ];
59          }
60        ];
61      };
62    };
63  }