1
0
Fork 0

Home-manager: add Zellij alias; fix git aliases

This commit is contained in:
Aires 2024-08-25 13:01:17 -04:00
parent 442c39550d
commit 4d2f4f6db8
2 changed files with 9 additions and 4 deletions

View file

@ -249,11 +249,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1724495652,
"narHash": "sha256-Q/sAhwemnZqAsSadjTNqTkoLN2xPouPdU1oLJ3Tjlhg=",
"lastModified": 1724575805,
"narHash": "sha256-OB/kEL3GAhUZmUfkbPfsPhKs0pRqJKs0EEBiLfyKZw8=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "1c84c314db42dd40ed6cf9293b9451ec2e7ebee4",
"rev": "9fc19be21f0807d6be092d70bf0b1de0c00ac895",
"type": "github"
},
"original": {

View file

@ -87,7 +87,11 @@ in
userEmail = config.secrets.users.aires.email;
extraConfig = {
push.autoSetupRemote = "true";
aliases.pull = "!git pull && git submodule foreach --recursive 'git pull origin main'";
alias = {
add = "add *";
pull = "!git pull && git submodule foreach --recursive 'git pull origin main'";
unstage = "reset HEAD --";
};
};
};
@ -103,6 +107,7 @@ in
theme = "gentoo";
};
shellAliases = {
z = "zellij";
update = "upgrade";
upgrade = "nh os boot --update --ask";
};