feat: cleanup

This commit is contained in:
johannes committed 2026-09-21 16:35:10 +02:00
1 parent c0ad26a840
commit e70201db45
9 files changed
+145 -270

No files matched your search

+73 -69
View File
@@ -29,60 +29,63 @@
hyprcursor.size = 24;
};
home.packages = with pkgs; [
curl
wget
neovim
ripgrep
fd
nushell
starship
zoxide
lazygit
fastfetch
eza
atuin
zellij
herdr
unp
carapace
bun
nodejs
pipx
python3
uv
rustup
cargo-binstall
mise
television
pay-respects
sops
age
devenv
pi-coding-agent
yazi
unzip
obsidian
htop
mpv
jellytui
tlrc
mago
zotero
] ++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [
owncloud-client
wl-clipboard
cliphist
hyprmod.packages.${pkgs.stdenv.hostPlatform.system}.default
librepods
easyeffects
lutris
claude-code
imagemagick
mangohud
libsecret
termius
];
home.packages =
with pkgs;
[
curl
wget
neovim
ripgrep
fd
nushell
starship
zoxide
lazygit
fastfetch
eza
atuin
zellij
herdr
unp
carapace
bun
nodejs
pipx
python3
uv
rustup
cargo-binstall
mise
television
pay-respects
sops
age
devenv
pi-coding-agent
yazi
unzip
obsidian
htop
mpv
jellytui
tlrc
mago
zotero
]
++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [
owncloud-client
wl-clipboard
cliphist
hyprmod.packages.${pkgs.stdenv.hostPlatform.system}.default
librepods
easyeffects
lutris
claude-code
imagemagick
mangohud
libsecret
termius
];
home.file = {
".config" = {
@@ -109,20 +112,14 @@
source = ./local_bin;
recursive = true;
};
".agents".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/agents";
".claude/skills".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/agents/skills";
".pi/agent/settings.json".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/pi/agent/settings.json";
".pi/extensions".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/pi/extensions";
};
age.identityPaths = [ "${config.home.homeDirectory}/.config/age/keys.txt" ];
age.secrets."git_config" = {
file = ./secrets/git_config.age;
path = "${config.home.homeDirectory}/.config/git/config";
};
age.secrets."jj_config" = {
file = ./secrets/jj_config.age;
path = "${config.home.homeDirectory}/.config/jj/config.toml";
".agents".source =
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/agents";
".claude/skills".source =
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/agents/skills";
".pi/agent/settings.json".source =
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/pi/agent/settings.json";
".pi/extensions".source =
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.dotfiles/pi/extensions";
};
home.file.".config/ghostty/config".text = ''
@@ -148,8 +145,15 @@
programs.git = {
enable = true;
lfs.enable = true;
settings = {
credential.helper = if pkgs.stdenv.hostPlatform.isLinux then "libsecret" else "osxkeychain";
credential.helper =
if pkgs.stdenv.hostPlatform.isLinux then
"${pkgs.git.override { withLibsecret = true; }}/bin/git-credential-libsecret"
else
"osxkeychain";
user.name = "Johannes Kresner";
user.email = "johannes@jokresner.de";
};
};