From 0a50d682ec85bf023bebd68a3ca388001f0c0677 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 8 Oct 2019 21:44:57 +0200 Subject: mv modules settings --- user/settings/satoshipay.nix | 55 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 user/settings/satoshipay.nix (limited to 'user/settings/satoshipay.nix') diff --git a/user/settings/satoshipay.nix b/user/settings/satoshipay.nix new file mode 100644 index 00000000..6516bd59 --- /dev/null +++ b/user/settings/satoshipay.nix @@ -0,0 +1,55 @@ +{ config, pkgs, ... }: + +let + inherit (pkgs) stdenv; + spGitConfig = { + user.email = "alan@satoshipay.io"; + }; +in +{ + imports = [ + ./javascript.nix + ]; + + home.sessionVariables = { + KUBECTX_IGNORE_FZF = "1"; + }; + home.packages = with pkgs; ([ + caddy + openssl + mongodb-tools + pgcli + s3cmd + sops + + unstable.mkcert + unstable.google-cloud-sdk + unstable.docker_compose + unstable.kubernetes + unstable.kubectx + unstable.kubernetes-helm + unstable.helmfile + ] ++ (lib.optionals (!stdenv.isDarwin) + [ + pgadmin + + unstable.redis-desktop-manager + unstable.robo3t + unstable.slack + ])); + + programs.git.includes = [ + { + condition = "gitdir:~/projects/github.com/satoshipay/"; + contents = spGitConfig; + } + { + condition = "gitdir:~/projects/gitlab.satoshipay.tech"; + contents = spGitConfig; + } + ]; + + home.file.".npmrc".text = '' + @satoshipay:registry=https://registry.npmjs.org/ + ''; +} -- cgit 1.4.1