add sccache, some vscode changes, use kitten ssh

This commit is contained in:
cy 2025-01-30 12:47:19 -05:00
parent d0ba9ca90b
commit 30c82dcb4f
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts
7 changed files with 67 additions and 1 deletions

View file

@ -67,4 +67,6 @@
"kitty_mod+o>l" = "kitten hints --type linenum";
};
};
programs.zsh.shellAliases."ssh" = "kitten ssh";
}

View file

@ -102,6 +102,7 @@ in
{ app-id = "com.mitchellh.ghostt"; }
{ app-id = "org.kde.okular"; }
{ app-id = "kitty"; }
{ app-id = "VSCodium"; }
];
default-column-width.proportion = .5;
}

View file

@ -11,7 +11,8 @@
jnoortheen.nix-ide
editorconfig.editorconfig
github.github-vscode-theme
github.codespaces
github.copilot
rust-lang.rust-analyzer
];
userSettings = {
"workbench.colorTheme" = "GitHub Dark Default";

View file

@ -1,5 +1,6 @@
{
pkgs,
lib,
...
}:
{
@ -108,6 +109,8 @@
hugo
ghidra
sequoia
sccache
awscli2
];
programs.waybar.enable = true;
@ -164,5 +167,19 @@
home.sessionVariables = {
# to make ghidra work on xwayland
_JAVA_AWT_WM_NONREPARENTING = 1;
# sccache stuff
RUSTC_WRAPPER = "${lib.getExe pkgs.sccache}";
SCCACHE_BUCKET = "sccache";
SCCACHE_REGION = "earth";
SCCACHE_ENDPOINT = "https://sccache.s3.cy7.sh";
SCCACHE_ALLOW_CORE_DUMPS = "true";
SCCACHE_S3_USE_SSL = "true";
SCCACHE_CACHE_MULTIARCH = "true";
SCCACHE_LOG_LEVEL = "warn";
AWS_DEFAULT_REGION = "earth";
AWS_ENDPOINT_URL = "https://s3.cy7.sh";
AWS_ACCESS_KEY_ID = "$(cat /run/secrets/aws/key_id)";
AWS_SECRET_ACCESS_KEY = "$(cat /run/secrets/aws/key_secret)";
};
}