From aa1d297feace71ce47036997ae143e1b78730fc2 Mon Sep 17 00:00:00 2001 From: Sijmen Date: Mon, 8 Aug 2022 14:13:58 +0200 Subject: [PATCH] add some more nix-related aliases --- common/home-manager.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/home-manager.nix b/common/home-manager.nix index bc245fb..984d160 100644 --- a/common/home-manager.nix +++ b/common/home-manager.nix @@ -75,10 +75,15 @@ shellAliases = { ".." = "cd .."; "..." = "cd ../.."; + config = "vim /etc/nixos/configuration.nix"; hmconf = "vim /etc/nixos/common/home-manager.nix"; switch = "sudo nixos-rebuild switch"; + nr = "nix run --impure"; + ns = "nix-shell"; + nsp = "nix-shell -p"; + cdnix = "cd /etc/nixos"; }; };