110 lines
2.0 KiB
Nix
110 lines
2.0 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
|
|
{
|
|
|
|
xdg.configFile."atuin" = { source = ./config/atuin; recursive = true; };
|
|
xdg.configFile."kitty" = { source = ./config/kitty; recursive = true; };
|
|
xdg.configFile."zellij" = { source = ./config/zellij; recursive = true; };
|
|
xdg.configFile."lazygit" = { source = ./config/lazygit; recursive = true; };
|
|
xdg.configFile."btop" = { source = ./config/btop; recursive = true; };
|
|
xdg.configFile."gh" = { source = ./config/gh; recursive = true; };
|
|
xdg.configFile."starship.toml".source = ./config/starship.toml;
|
|
|
|
xdg.configFile."niri" = { source = ./config/niri; recursive = true; };
|
|
xdg.configFile."waybar" = { source = ./config/waybar; recursive = true; };
|
|
|
|
|
|
home.username = "sam";
|
|
home.homeDirectory = "/home/sam";
|
|
home.stateVersion = "25.11";
|
|
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
# ---
|
|
# Shell (zsh + oh-my-zsh + powerlevel10k)
|
|
# ---
|
|
programs.zsh = {
|
|
enable = true;
|
|
autosuggestion.enable = true;
|
|
syntaxHighlighting.enable = true;
|
|
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
theme = "robbyrussell";
|
|
plugins = [ "git" ];
|
|
};
|
|
|
|
shellAliases = {
|
|
ls = "eza --icons --git";
|
|
ll = "eza -l --icons --git";
|
|
la = "eza -la --icons --git";
|
|
tree = "eza --tree";
|
|
cat = "bat --color=always --paging=never";
|
|
};
|
|
|
|
|
|
initExtra = ''
|
|
'';
|
|
};
|
|
|
|
|
|
# ---
|
|
# Shell tools
|
|
# ---
|
|
programs.atuin = {
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
};
|
|
|
|
programs.fzf = {
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
};
|
|
|
|
programs.zoxide = {
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
};
|
|
|
|
# ---
|
|
# Terminal / editor
|
|
# ---
|
|
programs.kitty.enable = true;
|
|
|
|
programs.neovim = {
|
|
enable = true;
|
|
defaultEditor = true;
|
|
};
|
|
|
|
# ---
|
|
# Packages (NOW list + a few safe essentials)
|
|
# ---
|
|
home.packages = with pkgs; [
|
|
|
|
git
|
|
curl
|
|
wget
|
|
|
|
eza
|
|
bat
|
|
ripgrep
|
|
fd
|
|
|
|
btop
|
|
lazygit
|
|
zellij
|
|
tealdeer
|
|
navi
|
|
yazi
|
|
dua
|
|
jq
|
|
|
|
unzip
|
|
zip
|
|
p7zip
|
|
];
|
|
|
|
}
|