diff options
author | Alan Pearce | 2017-09-22 15:58:45 +0200 |
---|---|---|
committer | Alan Pearce | 2017-09-22 15:58:45 +0200 |
commit | 29211f81353b076fbca7cf4417faa9dc0da3948e (patch) | |
tree | 8e54a1fd942c54d132ecdc0a8175c7da43141099 | |
parent | 29277c70cc00480b153409ddc465bc2144b4459b (diff) | |
download | nixfiles-29211f81353b076fbca7cf4417faa9dc0da3948e.tar.lz nixfiles-29211f81353b076fbca7cf4417faa9dc0da3948e.tar.zst nixfiles-29211f81353b076fbca7cf4417faa9dc0da3948e.zip |
satoshipay: Install mongod as a non-autostarted service
-rw-r--r-- | modules/satoshipay.nix | 8 |
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 ]; |