about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--home.nix1
-rw-r--r--platforms/common-packages.nix5
-rw-r--r--platforms/darwin/configuration.nix7
3 files changed, 10 insertions, 3 deletions
diff --git a/home.nix b/home.nix
index 00f035a..a9df0ce 100644
--- a/home.nix
+++ b/home.nix
@@ -29,6 +29,7 @@ in
     nur.repos.pn.larbs-mail
 
     # Misc
+    browserpass
     spotifyd
     spotify-tui
     # gimp
diff --git a/platforms/common-packages.nix b/platforms/common-packages.nix
index 9bfac5e..e9c36fd 100644
--- a/platforms/common-packages.nix
+++ b/platforms/common-packages.nix
@@ -1,4 +1,7 @@
+pkgs:
+with pkgs;
 [
+  stdenv
   curl
   wget
   vim
@@ -8,4 +11,4 @@
   ripgrep
   jq
   file
-];
+]
diff --git a/platforms/darwin/configuration.nix b/platforms/darwin/configuration.nix
index da6e0aa..bed3593 100644
--- a/platforms/darwin/configuration.nix
+++ b/platforms/darwin/configuration.nix
@@ -1,13 +1,16 @@
 { config, pkgs, ... }:
 
 let
-  common-packages = import ../common-packages.nix;
+  common_packages = import ../common-packages.nix pkgs;
+in
 {
   # List packages installed in system profile. To search by name, run:
   # $ nix-env -qaP | grep wget
   environment.systemPackages = with pkgs; [
     # Packages
-  ] ++ common-packages;
+    hello
+  ]
+  ++ common_packages;
 
   # Use a custom configuration.nix location.
   # $ darwin-rebuild switch -I darwin-config=$HOME/.config/nixpkgs/darwin/configuration.nix