From 4acb6d5fb46d7ee8d1cfa79cb17a62331d38a3d7 Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Sat, 21 Aug 2021 19:07:11 +0300 Subject: [PATCH] change aliases --- profiles/core/default.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/profiles/core/default.nix b/profiles/core/default.nix index 1869ea8..ec060c0 100644 --- a/profiles/core/default.nix +++ b/profiles/core/default.nix @@ -79,9 +79,8 @@ in g = pkgBin "git"; git-optimize = "${pkgBin "git"} gc --aggressive --prune=now"; - grep = "${pkgs.ripgrep}/bin/rg"; cat = "${pkgBin "bat"} -pp --theme=base16"; - c = "${pkgBin "bat"} -pp --theme=base16"; + c = "cat"; du = "${pkgs.du-dust}/bin/dust"; df = "${coreBin "df"} -h"; @@ -100,6 +99,7 @@ in nfui = "${nixBin} flake lock --update-input"; nfs = "${nixBin} flake show"; np = "${nixBin} profile"; + nb = "${nixBin} build"; npl = "${nixBin} profile info"; npi = "${nixBin} profile install"; npr = "${nixBin} profile remove"; @@ -109,11 +109,12 @@ in ndev = "${nixBin} develop"; nrun = "${nixBin} run"; + nrefs = "nix-store -qR"; + noscd = "cd /etc/nixos"; - nosr = ifSudo "sudo nixos-rebuild --fast"; - nosrs = ifSudo "sudo nixos-rebuild switch"; - nosrb = ifSudo "sudo nixos-rebuild boot"; - nosrt = ifSudo "sudo nixos-rebuild test"; + nosrs = ifSudo "sudo nixos-rebuild --fast switch"; + nosrb = ifSudo "sudo nixos-rebuild --fast boot"; + nosrt = ifSudo "sudo nixos-rebuild --fast test"; ngc = ifSudo "sudo nix-collect-garbage"; ngcdo = ifSudo "sudo nix-collect-garbage --delete-old"; @@ -129,7 +130,7 @@ in nixos-option = "nixos-option -I nixpkgs=${self}/lib/compat"; # sudo - s = ifSudo "sudo -E "; + s = ifSudo "sudo -E"; si = ifSudo "sudo -i"; se = ifSudo "sudoedit";