Cleanup and documentation

This commit is contained in:
Jan Kremer 2026-02-24 17:51:58 +01:00
parent 0556712d59
commit 2351c09b7b
No known key found for this signature in database
8 changed files with 16 additions and 69 deletions

View file

@ -1,6 +1,7 @@
{ pkgs, ... }:
{
## Catppuccin (https://catppuccin.com/)
## Only use dark theme until Helix supports light theme (will be in the next release)
programs = {
bat = {
config.theme = "catppuccin-macchiato";

View file

@ -23,23 +23,17 @@
## Mute login message in terminal
file.".hushlogin".text = "";
sessionVariables = {
DIRENV_LOG_FORMAT = "";
};
## Mute direnv output
sessionVariables.DIRENV_LOG_FORMAT = "";
shellAliases = {
"yt" = "yt-dlp";
"yta" = "yt-dlp -x";
"yt" = "yt-dlp"; # Download video
"yta" = "yt-dlp -x"; # Download audio
};
packages = [ inputs.agenix.packages.${pkgs.stdenv.hostPlatform.system}.default ];
};
age = {
# identityPaths = [ "~/.ssh/id_ed25519" ];
secrets."openai".file = ../secrets/openai.age;
};
xdg = {
enable = true;
userDirs = {

View file

@ -3,10 +3,6 @@
./ignores.nix
];
home.sessionVariables = {
GITHUB_TOKEN = "$(gh auth token)";
};
programs = {
git = {
enable = true;
@ -64,16 +60,5 @@
};
};
};
gh = {
enable = true;
settings.git_protocol = "ssh";
};
sapling = {
enable = true;
userName = "Jan Kremer";
userEmail = "mail@jankremer.eu";
};
};
}

View file

@ -1,7 +1,6 @@
{
imports = [
./bat.nix
# ./fish.nix
./starship.nix
./zsh.nix
];

View file

@ -1,22 +0,0 @@
{
programs.fish = {
enable = true;
interactiveShellInit = # fish
''
set fish_greeting
set fish_vi_key_bindings
set fish_vi_cursor
eval $(/opt/homebrew/bin/brew shellenv fish)
'';
shellAbbrs = {
gs = "git status";
gc = "git commit";
gca = "git commit -a";
gcaa = "git commit -a --amend";
gco = "git checkout";
};
};
}

View file

@ -2,7 +2,6 @@
{
programs.zsh = {
enable = true;
# enableVteIntegration = true;
dotDir = "${config.xdg.configHome}/zsh";
history = {
path = "${config.xdg.stateHome}/zsh/zsh_history";