summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-04-28 23:10:55 +0200
committerAlan Pearce2024-04-28 23:10:55 +0200
commitea6e9729dc8a51978dc89c5a546ecf7381e3c9b7 (patch)
treefdfb3b3959498842f1f74559f1f8049755786619
parent2ec12fddb187fd3aa02638bfc20a501b072af58b (diff)
downloadnixfiles-ea6e9729dc8a51978dc89c5a546ecf7381e3c9b7.tar.lz
nixfiles-ea6e9729dc8a51978dc89c5a546ecf7381e3c9b7.tar.zst
nixfiles-ea6e9729dc8a51978dc89c5a546ecf7381e3c9b7.zip
nix: install any-nix-shell
-rw-r--r--user/settings/nix.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/user/settings/nix.nix b/user/settings/nix.nix
index 28c8f022..30bfe47a 100644
--- a/user/settings/nix.nix
+++ b/user/settings/nix.nix
@@ -10,7 +10,13 @@ in
     ../../pin.nix
   ];
   nixpkgs.config = import ../config.nix;
+  # move to system config
+  programs.fish.interactiveShellInit = ''
+    any-nix-shell fish --info-right | source
+  '';
+
   home.packages = with pkgs; [
+    any-nix-shell
     nil
     nix-prefetch-scripts
     nix-init