summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/dev.nix10
-rw-r--r--modules/javascript.nix12
-rw-r--r--modules/satoshipay.nix24
3 files changed, 46 insertions, 0 deletions
diff --git a/modules/dev.nix b/modules/dev.nix
new file mode 100644
index 00000000..ebef3f48
--- /dev/null
+++ b/modules/dev.nix
@@ -0,0 +1,10 @@
+{ config, pkgs, ... }:
+
+{ environment.systemPackages = with pkgs; [
+    mercurial
+    gitAndTools.hub
+
+    ag
+    ripgrep
+  ]; 
+}
diff --git a/modules/javascript.nix b/modules/javascript.nix
new file mode 100644
index 00000000..d950fe53
--- /dev/null
+++ b/modules/javascript.nix
@@ -0,0 +1,12 @@
+{ config, pkgs, ... }:
+
+let
+  pkgsUnstable = import <nixos-unstable> {};
+  # pkgsUnstable = pkgs;
+in
+{ environment.systemPackages = with pkgs; [
+    nodejs-8_x
+    pkgsUnstable.nodePackages.yarn
+    pkgsUnstable.nodePackages.tern
+  ];
+}
diff --git a/modules/satoshipay.nix b/modules/satoshipay.nix
new file mode 100644
index 00000000..70053038
--- /dev/null
+++ b/modules/satoshipay.nix
@@ -0,0 +1,24 @@
+{ config, pkgs, ... }:
+
+let
+  pkgsUnstable = import <nixos-unstable> {};
+  # pkgsUnstable = pkgs;
+in
+{ virtualisation = {
+    docker = {
+      enable = true;
+      liveRestore = false;
+    };
+  };
+
+  nixpkgs.config.allowUnfree = true;
+
+  environment.systemPackages = with pkgs; [
+    google-chrome
+    mongodb
+    franz
+    pkgsUnstable.scudCloud
+  ];
+
+  networking.domain = "satoshipay.io";
+}