about summary refs log tree commit diff
path: root/nix/flake
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-03-07 10:07:49 -0800
committerFranck Cuny <franck@fcuny.net>2024-03-07 10:10:55 -0800
commit318978655894aaa82fdf4c5de1eb9c58cb351a91 (patch)
treec96d22c7f116fcf9c9ee56dd2c222f432540b0f5 /nix/flake
parentinstall seqstat on the work profile (diff)
downloadworld-318978655894aaa82fdf4c5de1eb9c58cb351a91.tar.gz
share configuration for shell utils
Diffstat (limited to '')
-rw-r--r--nix/flake/hosts.nix11
-rw-r--r--nix/flake/packages.nix3
2 files changed, 13 insertions, 1 deletions
diff --git a/nix/flake/hosts.nix b/nix/flake/hosts.nix
index 8e9316a..c2ba71b 100644
--- a/nix/flake/hosts.nix
+++ b/nix/flake/hosts.nix
@@ -7,7 +7,16 @@ let
     darwin.lib.darwinSystem {
       inherit system;
       modules = [
-        home-manager.darwinModule
+        home-manager.darwinModules.home-manager
+        {
+          home-manager = {
+            useGlobalPkgs = true;
+            useUserPackages = true;
+            extraSpecialArgs = {
+              inherit self;
+            };
+          };
+        }
         ../../hosts/common/darwin/homebrew.nix
         ../../hosts/common/darwin/macos.nix
         path
diff --git a/nix/flake/packages.nix b/nix/flake/packages.nix
index 39bb874..1d310d3 100644
--- a/nix/flake/packages.nix
+++ b/nix/flake/packages.nix
@@ -11,6 +11,9 @@
 
     packages = {
       seqstat = pkgs.callPackage "${self}/packages/seqstat" { };
+      git-blame-stats = pkgs.callPackage "${self}/packages/git-blame-stats" { };
+      git-broom = pkgs.callPackage "${self}/packages/git-broom" { };
+      ipconverter = pkgs.callPackage "${self}/packages/ipconverter" { };
     };
   };
 }