diff options
author | Alan Pearce | 2017-09-09 16:19:10 +0200 |
---|---|---|
committer | Alan Pearce | 2017-09-09 16:49:30 +0200 |
commit | dc4ea159709bf7904140f2430bb0a1178dd152dd (patch) | |
tree | 4e71d434072da05fbc32a52661699bf84c258b27 /modules | |
parent | 27aeb718a79d1c84e80145ef4fa8446c69aab20e (diff) | |
download | nixos-configuration-dc4ea159709bf7904140f2430bb0a1178dd152dd.tar.lz nixos-configuration-dc4ea159709bf7904140f2430bb0a1178dd152dd.tar.zst nixos-configuration-dc4ea159709bf7904140f2430bb0a1178dd152dd.zip |
Add modules for development
Diffstat (limited to 'modules')
-rw-r--r-- | modules/dev.nix | 10 | ||||
-rw-r--r-- | modules/javascript.nix | 12 | ||||
-rw-r--r-- | modules/satoshipay.nix | 24 |
3 files changed, 46 insertions, 0 deletions
diff --git a/modules/dev.nix b/modules/dev.nix new file mode 100644 index 0000000..ebef3f4 --- /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 0000000..d950fe5 --- /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 0000000..7005303 --- /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"; +} |