Compare commits

..

No commits in common. "7ffe208af9cf4a800170fee8fe85835161ebb120" and "7fc13776f6f41a04842bbcb662caee19da53a2b1" have entirely different histories.

2 changed files with 11 additions and 30 deletions

View file

@ -98,6 +98,7 @@
}; };
environment.sessionVariables = { environment.sessionVariables = {
NIXOS_OZONE_WL = "1";
BUILDKIT_PROGRESS = "plain"; BUILDKIT_PROGRESS = "plain";
}; };
@ -247,11 +248,11 @@
programs.git = { programs.git = {
enable = true; enable = true;
userEmail = "chandler@chandlerswift.com";
userName = "Chandler Swift";
lfs.enable = true; lfs.enable = true;
# TODO: delta or diff-so-fancy or difftastic # TODO: delta or diff-so-fancy or difftastic
settings = { extraConfig = {
user.name = "Chandler Swift;
user.email = "chandler@chandlerswift.com";
init.defaultBranch = "main"; init.defaultBranch = "main";
pull.ff = "only"; pull.ff = "only";
#init.templatedir = "~/.git-template"; # unsure what this was intended to do -- default hooks, maybe? #init.templatedir = "~/.git-template"; # unsure what this was intended to do -- default hooks, maybe?
@ -286,7 +287,7 @@
programs.ssh = { programs.ssh = {
enable = true; enable = true;
matchBlocks."*".addKeysToAgent = "yes"; addKeysToAgent = "yes";
matchBlocks = { matchBlocks = {
bert = { bert = {
user = "root"; user = "root";

View file

@ -93,13 +93,13 @@
(azure-cli.withExtensions [ (azure-cli.withExtensions [
# azure-cli.extensions.automation # azure-cli.extensions.automation
azure-cli.extensions.azure-devops azure-cli.extensions.azure-devops
azure-cli.extensions.bastion # azure-cli.extensions.bastion
# azure-cli.extensions.fleet # azure-cli.extensions.fleet
# azure-cli.extensions.interactive # azure-cli.extensions.interactive
# azure-cli.extensions.log-analytics # azure-cli.extensions.log-analytics
azure-cli.extensions.resource-graph azure-cli.extensions.resource-graph
# azure-cli.extensions.serial-console # azure-cli.extensions.serial-console
azure-cli.extensions.ssh # azure-cli.extensions.ssh
]) ])
iperf iperf
units units
@ -131,6 +131,7 @@
clang clang
go
go-tools go-tools
gopls gopls
@ -139,26 +140,6 @@
programs.bash = { programs.bash = {
enable = true; enable = true;
historyControl = [ "ignoredups" "ignorespace" ]; historyControl = [ "ignoredups" "ignorespace" ];
initExtra = ''
# https://kubernetes.io/docs/reference/kubectl/quick-reference/#bash
source <(kubectl completion bash)
k() {
if [[ -t 1 ]]; then # stdout is a terminal
tput dim # Konsole's default theme requires some adjustment
printf "$ kubectl --context %q" "$(kubectl config current-context 2>/dev/null)"
printf " %q" "$@"
echo
tput sgr0
fi
kubectl "$@"
}
complete -o default -F __start_kubectl k
'';
};
programs.go = {
enable = true;
env.GOPATH = [ "/home/chandler/.local/share/go" ];
}; };
programs.direnv = { programs.direnv = {
@ -169,10 +150,10 @@
programs.git = { programs.git = {
enable = true; enable = true;
userName = "Chandler Swift";
lfs.enable = true; lfs.enable = true;
# TODO: delta or diff-so-fancy or difftastic # TODO: delta or diff-so-fancy or difftastic
settings = { extraConfig = {
user.name = "Chandler Swift";
help.autoCorrect = "prompt"; help.autoCorrect = "prompt";
init.defaultBranch = "main"; init.defaultBranch = "main";
diff.wsErrorHighlight = "all"; diff.wsErrorHighlight = "all";
@ -221,8 +202,7 @@
programs.ssh = { programs.ssh = {
enable = true; enable = true;
matchBlocks."*".addKeysToAgent = "yes"; addKeysToAgent = "yes";
matchBlocks."ssh.dev.azure.com".extraOptions.WarnWeakCrypto = "no-pq-kex";
includes = [ includes = [
"config.d/*" "config.d/*"
]; ];