Minor changes

nix-darwin
Abhinav Sarkar 2022-10-14 12:38:36 +05:30
parent 2ee914678a
commit 0c9740342b
4 changed files with 5 additions and 2 deletions

View File

@ -17,6 +17,7 @@
br = "${pkgs.broot}/bin/broot";
du = "${pkgs.dua}/bin/dua interactive";
tf = "${pkgs.coreutils-full}/bin/tail -f";
cat = "bat";
};
home.sessionVariables = { EDITOR = "micro"; };

View File

@ -24,7 +24,7 @@ _build:
build: (_run "_build")
_switch:
home-manager switch --flake "{{ root_dir }}#abhinav"
home-manager -v switch --flake "{{ root_dir }}#abhinav"
# switch to latest home-manager generation
switch: (_run "_switch")

View File

@ -4,7 +4,7 @@
nixpkgs.config.allowUnfree = true;
nix.package = pkgs.nixUnstable;
nix.settings = {
experimental-features = "nix-command flakes repl-flake";
experimental-features = [ "nix-command" "flakes" "repl-flake" ];
max-jobs = 6;
cores = 2;
auto-optimise-store = true;

View File

@ -13,7 +13,9 @@
p = "push";
s = "status";
ui = "!gitui";
ap = "add -p";
ca = "commit --amend --no-edit";
cm = "commit -m";
pf = "push --force-with-lease";
lg =
"log --graph --abbrev-commit --decorate --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)'";