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"; br = "${pkgs.broot}/bin/broot";
du = "${pkgs.dua}/bin/dua interactive"; du = "${pkgs.dua}/bin/dua interactive";
tf = "${pkgs.coreutils-full}/bin/tail -f"; tf = "${pkgs.coreutils-full}/bin/tail -f";
cat = "bat";
}; };
home.sessionVariables = { EDITOR = "micro"; }; home.sessionVariables = { EDITOR = "micro"; };

View File

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

View File

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

View File

@ -13,7 +13,9 @@
p = "push"; p = "push";
s = "status"; s = "status";
ui = "!gitui"; ui = "!gitui";
ap = "add -p";
ca = "commit --amend --no-edit"; ca = "commit --amend --no-edit";
cm = "commit -m";
pf = "push --force-with-lease"; pf = "push --force-with-lease";
lg = 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)'"; "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)'";