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,25 +1,29 @@
{ config, pkgs, ... }:
let
{
config,
pkgs,
...
}: let
in
pkgs.lib.mkAfter ''[sendemail]
pkgs.lib.mkAfter '' [sendemail]
smtpserver = smtp.mailbox.org
smtpuser = jhonas@mailbox.org
smtpencryption = tls
smtpserverport = 587
[lfs]
[lfs]
repositoryformatversion = 0
[filter "lfs"]
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
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
[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''

View file

@ -70,6 +70,14 @@ in {
age-plugin-yubikey
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;
};