add nix shell alias

This commit is contained in:
Sam W 2024-04-24 22:53:43 +01:00
parent 786d7d1b06
commit 9f821584d5
2 changed files with 1 additions and 1 deletions

View File

@ -37,6 +37,7 @@ in {
g = "git"; g = "git";
cat = "bat"; cat = "bat";
ip = "ip --color=auto"; ip = "ip --color=auto";
ns = "nix shell nixpkgs#";
hmswitch = ''home-manager switch --flake ".#$(hostname -s)"''; hmswitch = ''home-manager switch --flake ".#$(hostname -s)"'';
nrswitch = "nixos-rebuild --use-remote-sudo switch --flake '.#'"; nrswitch = "nixos-rebuild --use-remote-sudo switch --flake '.#'";
da = "direnv allow ."; da = "direnv allow .";

View File

@ -3,7 +3,6 @@
{ {
pkgs, pkgs,
lib, lib,
strings,
... ...
}: { }: {
home.sessionVariables = lib.mkForce {"EDITOR" = "nvim";}; home.sessionVariables = lib.mkForce {"EDITOR" = "nvim";};