add nb: nix build and ns: nix shell shell aliases
This commit is contained in:
parent
a907db9e59
commit
9250237a77
1 changed files with 10 additions and 3 deletions
|
|
@ -1,4 +1,9 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.modules.apps.zsh;
|
||||
in
|
||||
|
|
@ -20,6 +25,8 @@ in
|
|||
ll = "lsd -l";
|
||||
lt = "lsd -l --tree";
|
||||
update = "nix flake update --commit-lock-file $HOME/nixos && sudo nixos-rebuild switch --flake $HOME/nixos";
|
||||
nb = "nix build -L";
|
||||
ns = "nix shell -L";
|
||||
};
|
||||
initExtra = ''
|
||||
[[ ! -r /home/noa/.opam/opam-init/init.zsh ]] || source /home/noa/.opam/opam-init/init.zsh > /dev/null 2> /dev/null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue