all repos — nixfiles @ 4c0d444e91bd1a5813123dab93b3397715111913

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

Move satoshipay packages to home-manager
Alan Pearce alan@alanpearce.eu
Fri, 04 Oct 2019 16:43:20 +0200
commit

4c0d444e91bd1a5813123dab93b3397715111913

parent

9dad0ca18a9b689a0e119b33e18fd5bf195c7071

2 files changed, 24 insertions(+), 25 deletions(-)

jump to
M system/modules/satoshipay.nixsystem/modules/satoshipay.nix
@@ -22,31 +22,6 @@ };     };
   };
 
-  nixpkgs.config.allowUnfree = true;
-
-  environment.variables = {
-    KUBECTX_IGNORE_FZF = "1";
-  };
-  environment.systemPackages = with pkgs; [
-    caddy
-    openssl
-    mongodb-tools
-    pgadmin
-    pgcli
-    s3cmd
-    sops
-    unstable.mkcert
-    unstable.google-cloud-sdk
-    unstable.docker_compose
-    unstable.kubernetes
-    unstable.kubectx
-    unstable.redis-desktop-manager
-    unstable.kubernetes-helm
-    unstable.helmfile
-    unstable.robo3t
-    unstable.slack
-  ];
-
   services.mongodb = {
     enable = true;
     replSetName = "rs0";
M user/modules/satoshipay.nixuser/modules/satoshipay.nix
@@ -10,6 +10,30 @@ imports = [     ./javascript.nix
   ];
 
+  systemd.user.sessionVariables = {
+    KUBECTX_IGNORE_FZF = "1";
+  };
+  home.packages = with pkgs; [
+    caddy
+    openssl
+    mongodb-tools
+    pgadmin
+    pgcli
+    s3cmd
+    sops
+
+    unstable.mkcert
+    unstable.google-cloud-sdk
+    unstable.docker_compose
+    unstable.kubernetes
+    unstable.kubectx
+    unstable.redis-desktop-manager
+    unstable.kubernetes-helm
+    unstable.helmfile
+    unstable.robo3t
+    unstable.slack
+  ];
+
   programs.git.includes = [
     {
       condition = "gitdir:~/projects/github.com/satoshipay/";