add penguin's home

This commit is contained in:
2025-08-19 00:34:18 +08:00
parent 551e27f6e4
commit 3f88eba100
4 changed files with 59 additions and 19 deletions

View File

@@ -5,15 +5,6 @@
...
}:
{
# This value determines the Home Manager release that your configuration is
# compatible with. This helps avoid breakage when a new Home Manager release
# introduces backwards incompatible changes.
#
# You should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager
# release notes.
home.stateVersion = "23.11"; # Please read the comment before changing.
home.packages = [
# pkgs.dive
pkgs.entr
@@ -21,7 +12,6 @@
pkgs.just
pkgs.rsync
pkgs.claude-code
pkgs.devenv
pkgs.dive
];
@@ -44,9 +34,6 @@
signingKey = "~/.ssh/yadunut_ed25519.pub";
};
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
targets.darwin = {
defaults."com.apple.dock".autohide = true;
defaults."com.apple.finder".AppleShowAllFiles = true;
@@ -54,4 +41,6 @@
defaults.NSGlobalDomain.KeyRepeat = 2;
defaults.NSGlobalDomain.ApplePressAndHoldEnabled = false;
};
home.stateVersion = "23.11"; # Please read the comment before changing.
programs.home-manager.enable = true;
}

View File

@@ -0,0 +1,48 @@
{
lib,
pkgs,
config,
...
}:
{
home.packages = with pkgs; [
seahorse
wl-clipboard
];
git = {
enable = true;
signingKey = "~/.ssh/id_ed25519.pub";
};
zsh.enable = true;
neovim.enable = true;
services = {
darkman.enable = true;
hyprpolkitagent.enable = true;
cliphist.enable = true;
ollama = {
enable = true;
host = "0.0.0.0";
port = 11434;
};
};
programs.git.extraConfig.credential.helper = lib.mkForce [
"${pkgs.git.override { withLibsecret = true; }}/bin/git-credential-libsecret"
"${pkgs.git-credential-oauth}/bin/git-credential-oauth"
];
programs = {
waybar = {
enable = true;
systemd.enable = true;
};
gh.enable = true;
zed-editor.enable = true;
firefox.enable = true;
};
home.stateVersion = "25.11";
programs.home-manager.enable = true;
}