summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2023-03-14 09:23:38 +0100
committerAlan Pearce2023-03-14 16:30:42 +0100
commitf2e50f620d8a0d5da6bd07b792a0596270919d41 (patch)
tree20dfe3c4fb5363386e09519070d6e31b0b22ec46 /user
parentdb44549d4a3ab9c796a04175dc1fed73590e99ea (diff)
downloadnixfiles-f2e50f620d8a0d5da6bd07b792a0596270919d41.tar.lz
nixfiles-f2e50f620d8a0d5da6bd07b792a0596270919d41.tar.zst
nixfiles-f2e50f620d8a0d5da6bd07b792a0596270919d41.zip
zsh: add some aliases for nix flake subcommands
Diffstat (limited to 'user')
-rw-r--r--user/settings/zsh.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix
index d452092c..0ab7d205 100644
--- a/user/settings/zsh.nix
+++ b/user/settings/zsh.nix
@@ -178,6 +178,9 @@ in {
       snicu = "sudo nix-channel --update";
       snicr = "sudo nix-channel --remove";
       snicb = "sudo nix-channel --rollback";
+      nf = "nix flake";
+      nfu = "nix flake update";
+      nfl = "nix flake lock";
       n = "nix-env";
       ni = "nix-env -iA";
       nq = "nix-env -q";