Compare commits

...

5 commits

Author SHA1 Message Date
Chandler Swift
f908b10435
sam: Fix includeIf trailing slash
This isn't a new issue; not even to me!

https://news.ycombinator.com/item?id=38946967

> chandlerswift on Jan 11, 2024 | on: Conditional Git Configuration
>
> I'd attempted to configure this some time back, but never gotten it
> working, and this was the kick in the pants I needed to finally get
> it working!
>
> In case anyone is stuck in the same way that I was, the trailing
> slash at the end (which I had previously omitted, not realizing) is
> necessary for this to work. The docs[0] mention this, but I'd managed
> to repeatedly miss it:
>
> > If the pattern ends with /, * will be automatically added. For
> > example, the pattern foo/ becomes foo/*. In other words, it matches
> > "foo" and everything inside, recursively.
>
> [0]: https://git-scm.com/docs/git-config#Documentation/git-config...

:doh:
2025-07-15 17:08:20 -05:00
Chandler Swift
d49871079f
sam: Install azure-cli with devops extension
The commented extensions had been installed at one point in the past,
but it's unclear if they're actually things I use, so left out for now.
2025-07-15 16:44:51 -05:00
Chandler Swift
5814eaa5f1
sam: Install hyperfine 2025-07-15 16:39:34 -05:00
Chandler Swift
30264133f8
sam: Use correct key for machine-config 2025-07-11 14:30:49 -05:00
Chandler Swift
c0795d3c25
sam: Install extra applications
Mostly copied from oscar's config.
2025-07-11 14:29:26 -05:00

View file

@ -69,8 +69,56 @@
};
home-manager.users.chandler = { pkgs, ... }: {
home.packages = with pkgs; [
# applications
gimp
inkscape
kdePackages.kate
libreoffice-qt
# command line applications
(azure-cli.withExtensions [
# azure-cli.extensions.automation
azure-cli.extensions.azure-devops
# azure-cli.extensions.bastion
# azure-cli.extensions.fleet
# azure-cli.extensions.interactive
# azure-cli.extensions.log-analytics
# azure-cli.extensions.resource-graph
# azure-cli.extensions.serial-console
# azure-cli.extensions.ssh
])
iperf
units
# command line utilities
alsa-utils
dig
file
ffmpeg
git-absorb
gh
hyperfine
imagemagick
jujutsu
killall
pv
ripgrep
unzip
wl-clipboard
# ✨ AI ✨
ollama
# compilers/language utils
cargo
rustc
clang
go
go-tools
gopls
];
programs.bash = {
@ -123,6 +171,10 @@
condition = "gitdir:/home/chandler/work/github-vue/";
contents.core.sshCommand = "ssh -i ~/.ssh/github-vue";
}
{
condition = "gitdir:/home/chandler/projects/machine-config/";
contents.core.sshCommand = "ssh -i ~/.ssh/machine-config-deploy-key";
}
];
hooks = {
pre-commit = ../git-pre-commit-hook;