Add rustup, git commit amend alias

This commit is contained in:
Sam W 2022-01-12 17:37:06 +00:00
parent 6e6154210c
commit d0cdad47fb
4 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { pkgs, ... }:
let mypkgs = (import ../modules/pkgs.nix { inherit pkgs; }); let mypkgs = (import ../modules/pkgs.nix { inherit pkgs; });
in { in {

View File

@ -13,6 +13,7 @@
a = "add"; a = "add";
ap = "add -p"; ap = "add -p";
c = "commit"; c = "commit";
ca = "commit --amend";
can = "commit --amend --no-edit"; can = "commit --amend --no-edit";
cm = "commit -m"; cm = "commit -m";
co = "checkout"; co = "checkout";

View File

@ -1 +1 @@
{ dev = { ... }: { imports = [ ./default.nix ./git.nix ./macs.nix ]; }; } { dev = { ... }: { imports = [ ./default.nix ./git.nix ./macs.nix ./rust.nix ]; }; }

1
home/rust.nix Normal file
View File

@ -0,0 +1 @@
{ pkgs, ... }: { home.packages = [ pkgs.rustup ]; }