Compare commits

...

5 commits

Author SHA1 Message Date
Christoph Heiss 3c80b32440
machines: maui: add some useful git send-email aliases
All checks were successful
flake / build (push) Successful in 3m1s
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-08-23 11:16:27 +02:00
Christoph Heiss c513cc2bce
home-manager: desktop: git: set sendemail identity explicitly
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-08-23 11:13:36 +02:00
Christoph Heiss 065a6e1eb0
machines: maui: set git suppress-cc to 'all'
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-08-23 11:07:05 +02:00
Christoph Heiss c4920d7616
home-manager: desktop: remove old git alias in favor of tig
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-08-23 10:52:17 +02:00
Christoph Heiss a182c40fab
home-manager: desktop: move stray comment to correct place
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-08-23 10:48:30 +02:00
3 changed files with 13 additions and 5 deletions

View file

@ -25,7 +25,16 @@
terminal.fontSize = 10.5;
};
programs.git.signing.signByDefault = false;
programs.git = {
signing.signByDefault = false;
extraConfig.sendemail.suppresscc = "all";
};
programs.zsh.shellAliases = {
gsm-pve = "git send-email --to=pve-devel@lists.proxmox.com";
gsm-pbs = "git send-email --to=pbs-devel@lists.proxmox.com";
gsm-pmg = "git send-email --to=pmg-devel@lists.proxmox.com";
};
# Nix's swaylock is broken when using on Debian due to some PAM
# incompatibilities. Work around that by simply running Debians

Binary file not shown.

View file

@ -118,7 +118,8 @@ in {
sendemail = {
annotate = true;
confirm = "always";
suppresscc = "self";
identity = primaryEmail.address;
suppresscc = lib.mkDefault "self";
};
notes = {
rewrite = {
@ -164,8 +165,8 @@ in {
};
};
# Needed by the luasnip plugin
programs.neovim = {
# Needed by the luasnip plugin
extraLuaPackages = luaPkgs: with luaPkgs; [ jsregexp ];
plugins = with pkgs.vimPlugins;
[
@ -276,8 +277,6 @@ in {
--to-cmd="$(pwd)/scripts/get_maintainer.pl --nogit --nogit-fallback --norolestats --nol" \
--cc-cmd="$(pwd)/scripts/get_maintainer.pl --nogit --nogit-fallback --norolestats --nom"
'';
glosh =
"git log --oneline --decorate | fzf | cut -d' ' -f1 | xargs git show";
# Rust
cb = "cargo build";
ccl = "cargo clippy";