summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/satoshipay.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/satoshipay.nix b/modules/satoshipay.nix
index 2ff3b9eb..7e1a8d40 100644
--- a/modules/satoshipay.nix
+++ b/modules/satoshipay.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, ... }:
+{ config, pkgs, lib, ... }:
 
 let
   pkgsUnstable = import <nixos-unstable> {};
@@ -16,11 +16,15 @@ in
   environment.systemPackages = with pkgs; [
     google-chrome
     docker_compose
-    mongodb
     electrum
     pkgsUnstable.scudcloud
   ];
 
+  services.mongodb = {
+    enable = true;
+  };
+  systemd.services.mongodb.wantedBy = lib.mkForce  [];
+
   services.printing.drivers = with pkgs; [
     pkgsUnstable.cups-toshiba-estudio
   ];