teutat3s: fix git config and add HashiCorp CLIs'

completions
This commit is contained in:
teutat3s 2023-03-14 14:29:20 +01:00
parent a1d46324ea
commit a3a9fd5414
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 33 additions and 21 deletions

View file

@ -1,5 +1,8 @@
{ config, pkgs, ... }: {
let config,
pkgs,
...
}: let
in in
pkgs.lib.mkAfter '' [sendemail] pkgs.lib.mkAfter '' [sendemail]
smtpserver = smtp.mailbox.org smtpserver = smtp.mailbox.org
@ -15,11 +18,12 @@ pkgs.lib.mkAfter ''[sendemail]
process = git-lfs filter-process process = git-lfs filter-process
required = true required = true
[safe]
directory = /home/teutat3s/CodeRoom/git.b12f.io/pub-solar/os
[includeIf "gitdir:~/CodeRoom/greenbaum.cloud/"] [includeIf "gitdir:~/CodeRoom/greenbaum.cloud/"]
path = ~/.config/git/config_greenbaum.cloud path = ~/.config/git/config_greenbaum.cloud
[includeIf "gitdir:~/CodeRoom/git.b12f.io/"] [includeIf "gitdir:~/CodeRoom/git.b12f.io/"]
path = ~/.config/git/config_git.b12f.io
[includeIf "gitdir:~/CodeRoom/git.pub.solar/"]
path = ~/.config/git/config_git.b12f.io
[includeIf "gitdir:~/CodeRoom/codeberg.org/"]
path = ~/.config/git/config_git.b12f.io'' path = ~/.config/git/config_git.b12f.io''

View file

@ -70,6 +70,14 @@ in {
age-plugin-yubikey age-plugin-yubikey
nix-autobahn.packages.${pkgs.system}.default nix-autobahn.packages.${pkgs.system}.default
]; ];
programs.bash.initExtra = ''
complete -C ${pkgs.consul}/bin/consul consul
complete -C ${pkgs.nomad_1_4}/bin/nomad nomad
complete -C ${pkgs.vault}/bin/vault vault
complete -C ${pkgs.terraform}/bin/terraform terraform
complete -C ${pkgs.waypoint}/bin/waypoint waypoint
complete -C '${pkgs.awscli2}/bin/aws_completer' ${pkgs.awscli2}/bin/aws
'';
# xdg.configFile."wallpaper.jpg".source = ./assets/wallpaper.jpg; # xdg.configFile."wallpaper.jpg".source = ./assets/wallpaper.jpg;
}; };