satoshipay: Install mongod as a non-autostarted service
Alan Pearce alan@alanpearce.eu
Fri, 22 Sep 2017 15:58:45 +0200
1 files changed, 6 insertions(+), 2 deletions(-)
jump to
M modules/satoshipay.nix → modules/satoshipay.nix
@@ -1,4 +1,4 @@-{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: let pkgsUnstable = import <nixos-unstable> {}; @@ -16,10 +16,14 @@ 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