summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2019-10-05 00:55:25 +0200
committerAlan Pearce2019-10-05 00:55:25 +0200
commit54ece8e09c42b9537f7ff962d965c1732e425519 (patch)
treec83738a3896a5d7189a7a0ee1b70c0b7a4bfc585 /user
parent9f6dc506d7d3c46bdd19c7d3a1e306b0304eab1c (diff)
downloadnixfiles-54ece8e09c42b9537f7ff962d965c1732e425519.tar.lz
nixfiles-54ece8e09c42b9537f7ff962d965c1732e425519.tar.zst
nixfiles-54ece8e09c42b9537f7ff962d965c1732e425519.zip
satoshipay: disable broken GUI packages on macOS
Diffstat (limited to 'user')
-rw-r--r--user/modules/satoshipay.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/user/modules/satoshipay.nix b/user/modules/satoshipay.nix
index 5821103d..6516bd59 100644
--- a/user/modules/satoshipay.nix
+++ b/user/modules/satoshipay.nix
@@ -1,6 +1,7 @@
 { config, pkgs, ... }:
 
 let
+  inherit (pkgs) stdenv;
   spGitConfig = {
     user.email = "alan@satoshipay.io";
   };
@@ -13,11 +14,10 @@ in
   home.sessionVariables = {
     KUBECTX_IGNORE_FZF = "1";
   };
-  home.packages = with pkgs; [
+  home.packages = with pkgs; ([
     caddy
     openssl
     mongodb-tools
-    pgadmin
     pgcli
     s3cmd
     sops
@@ -27,12 +27,16 @@ in
     unstable.docker_compose
     unstable.kubernetes
     unstable.kubectx
-    unstable.redis-desktop-manager
     unstable.kubernetes-helm
     unstable.helmfile
+  ] ++ (lib.optionals (!stdenv.isDarwin)
+  [
+    pgadmin
+
+    unstable.redis-desktop-manager
     unstable.robo3t
     unstable.slack
-  ];
+  ]));
 
   programs.git.includes = [
     {