summaryrefslogtreecommitdiff
path: root/conf.d/99-nix.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/99-nix.zsh')
-rw-r--r--conf.d/99-nix.zsh14
1 files changed, 14 insertions, 0 deletions
diff --git a/conf.d/99-nix.zsh b/conf.d/99-nix.zsh
new file mode 100644
index 0000000..1156080
--- /dev/null
+++ b/conf.d/99-nix.zsh
@@ -0,0 +1,14 @@
+alias nib=nix-build
+alias nic=nix-channel
+alias nis=nix-shell
+alias nie=nix-env
+alias nir=nix-repl
+
+nih() {
+ nie -iA nixpkgs.coreEnv nixpkgs.desktopEnv nixpkgs.gamesEnv
+ dotfiles.coreEnv
+ dotfiles.desktopEnv
+}
+
+alias nor=nixos-rebuild
+alias noc=nixos-container