Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 1 | { pkgs, ... }: { |
Skyler Grey | af6ad43 | 2022-10-30 23:08:30 +0000 | [diff] [blame] | 2 | config = { |
3 | services.mongodb = { | ||||
Skyler Grey | a9addb3 | 2022-10-31 00:22:55 +0000 | [diff] [blame] | 4 | package = pkgs.mongodb-4_2; |
5 | enable = true; | ||||
6 | dbpath = "/tmp/mongodb"; | ||||
Skyler Grey | af6ad43 | 2022-10-30 23:08:30 +0000 | [diff] [blame] | 7 | }; |
Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 8 | internal.allowUnfree = [ "mongodb" "mongodb-compass" ]; |
Skyler Grey | af6ad43 | 2022-10-30 23:08:30 +0000 | [diff] [blame] | 9 | }; |
10 | |||||
Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 11 | home.home.packages = [ pkgs.mongodb-compass ]; |
Skyler Grey | af6ad43 | 2022-10-30 23:08:30 +0000 | [diff] [blame] | 12 | } |