all repos — nixfiles @ dc4ea159709bf7904140f2430bb0a1178dd152dd

System and user configuration, managed by nix and home-manager

Add modules for development
Alan Pearce alan@alanpearce.eu
Sat, 09 Sep 2017 16:19:10 +0200
commit

dc4ea159709bf7904140f2430bb0a1178dd152dd

parent

27aeb718a79d1c84e80145ef4fa8446c69aab20e

4 files changed, 49 insertions(+), 0 deletions(-)

jump to
A modules/dev.nix
@@ -0,0 +1,10 @@+{ config, pkgs, ... }:
+
+{ environment.systemPackages = with pkgs; [
+    mercurial
+    gitAndTools.hub
+
+    ag
+    ripgrep
+  ]; 
+}
A 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
+  ];
+}
A 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";
+}
M satoshipad.nixsatoshipad.nix
@@ -23,6 +23,9 @@ ./modules/intel-gpu.nix     ./modules/t470s.nix
     ./modules/user.nix
     ./modules/user-interface.nix
+    ./modules/dev.nix
+    ./modules/javascript.nix
+    ./modules/satoshipay.nix
   ];
 
   networking.hostName = "satoshipad";