summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/shell.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/shell.nix b/modules/shell.nix
index a5c99f2..f0beeb8 100644
--- a/modules/shell.nix
+++ b/modules/shell.nix
@@ -33,6 +33,9 @@
export JAVA_HOME="$java_home"
fi
'';
+ shellAliases = {
+ fmt-nix = "nix run nixpkgs#nixfmt-tree";
+ };
plugins = [
{
name = "fzf-tab";