From 869ed6a1e60ae762cf66dd098c62cad8ec9306d6 Mon Sep 17 00:00:00 2001 From: Storm <31986015+washedupdeveloper@users.noreply.github.com> Date: Sat, 29 Mar 2025 21:34:14 +0100 Subject: [PATCH] added example shell command to devshell --- flake.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/flake.nix b/flake.nix index f629fd0..3a667cc 100644 --- a/flake.nix +++ b/flake.nix @@ -54,6 +54,20 @@ value = "experimental-features = nix-command flakes"; } ]; + commands = [ + { + name = "fmt"; + help = "format nix code (using alejandra)"; + command = "nix fmt"; + category = "nix"; + } + { + name = "lint"; + help = "lint go code"; + command = "gofmt"; + category = "golang"; + } + ]; }; }; };