initial dendritic migration

This commit is contained in:
Semere Meharena Mebrahtom 2026-07-18 19:21:16 +02:00
parent 86fe70288b
commit 168633cf07
Signed by: semere
GPG key ID: 7FC937214DF30488
12 changed files with 254 additions and 147 deletions

72
modules/shell.nix Normal file
View file

@ -0,0 +1,72 @@
{ config, lib, pkgs, ... }:
let
cfg = config.dotfiles.shell;
in
{
options.dotfiles.shell = {
enable = lib.mkEnableOption "Shell, Git, GPG, and CLI environment";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
git
wget
tree
tealdeer
gnupg
pass
p7zip
btop
helix
opencode
];
home-manager.users.semere = {
programs.git = {
enable = true;
settings = {
user = {
name = "Semere M. Mebrahtom";
email = "semere.meharena1@gmail.com";
};
commit.gpgsign = true;
gpg.program = "gpg";
};
signing = {
key = "451054EEC0D2AFD1741D4E6A7FC937214DF30488";
signByDefault = true;
};
};
services.gpg-agent = {
enable = true;
defaultCacheTtl = 1800;
enableSshSupport = true;
pinentry.package = pkgs.pinentry-curses;
};
programs.bash = {
enable = true;
shellAliases = {
ll = "ls -lha";
};
};
programs.fzf = {
enable = true;
enableBashIntegration = true;
};
programs.helix = {
enable = true;
settings = {
editor = {
line-numbers = "relative";
lsp.display-messages = true;
};
};
};
};
};
}