From 6383d88b4bb89279ecdc33a13a8daf13ce67ef33 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sun, 26 Jun 2022 22:15:25 -0400 Subject: [PATCH] shortcut for nix commands --- modules/programming/nix.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/modules/programming/nix.nix b/modules/programming/nix.nix index af39ea1..ca0e3c2 100644 --- a/modules/programming/nix.nix +++ b/modules/programming/nix.nix @@ -1,8 +1,14 @@ { config, pkgs, ... }: { - home-manager.users.${config.user}.home.packages = with pkgs; - [ - nixfmt # Nix file formatter - ]; + home-manager.users.${config.user} = { + + home.packages = with pkgs; + [ + nixfmt # Nix file formatter + ]; + + programs.fish.shellAbbrs = { n = "nix"; }; + + }; }