diff --git a/home/zsh/default.nix b/home/zsh/default.nix
index 3dd0430..94df5b1 100644
--- a/home/zsh/default.nix
+++ b/home/zsh/default.nix
@@ -57,6 +57,7 @@
               source "$(fzf-share)/completion.zsh"
           fi
           source ${./files/keys.zsh}
+          source ${./files/functions.zsh}
       }
     '';
 
diff --git a/home/zsh/files/functions.zsh b/home/zsh/files/functions.zsh
new file mode 100644
index 0000000..d39ce61
--- /dev/null
+++ b/home/zsh/files/functions.zsh
@@ -0,0 +1,3 @@
+function run() {
+    nix run "nixpkgs#$1" -- "${@:2}"
+}