Add modules for development
Alan Pearce alan@alanpearce.eu
Sat, 09 Sep 2017 16:19:10 +0200
4 files changed, 49 insertions(+), 0 deletions(-)
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.nix → satoshipad.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";