73 lines
1.8 KiB
Nix
73 lines
1.8 KiB
Nix
{
|
|
config,
|
|
pkgs,
|
|
pkgs-unstable,
|
|
user,
|
|
...
|
|
} :
|
|
let
|
|
username = user.name;
|
|
homeDirectory = user.homeDirectory;
|
|
in {
|
|
|
|
imports = [
|
|
../../home-modules/default.nix
|
|
../../home-modules/direnv.nix
|
|
../../home-modules/ghostty-config.nix
|
|
../../home-modules/homebrew.nix
|
|
../../home-modules/karabiner.nix
|
|
../../home-modules/lazygit.nix
|
|
../../home-modules/nvim.nix
|
|
../../home-modules/secretive.nix
|
|
../../home-modules/starship.nix
|
|
../../home-modules/tmux.nix
|
|
../../home-modules/zsh.nix
|
|
];
|
|
|
|
ghostty = {
|
|
font-size = "17.2";
|
|
window-decoration = true;
|
|
};
|
|
|
|
nvim = {
|
|
enable = true;
|
|
package = pkgs-unstable.neovim;
|
|
};
|
|
|
|
home = {
|
|
username = username;
|
|
homeDirectory = homeDirectory;
|
|
|
|
packages = with pkgs; [
|
|
nerd-fonts.bigblue-terminal
|
|
nerd-fonts.fira-code
|
|
exercism
|
|
typescript-language-server # TODO: Defer to individual projects.
|
|
audacity
|
|
pkgs-unstable.claude-code
|
|
(pkgs-unstable.litellm.overrideAttrs (oldAttrs: rec {
|
|
version = "1.74.9";
|
|
src = pkgs.fetchFromGitHub {
|
|
owner = "BerriAI";
|
|
repo = "litellm";
|
|
tag = "v${version}-stable";
|
|
hash = "sha256-SGZwt2jzAQbOMlvudqPWat281su6OwT7JG2CNSMjL3A=";
|
|
};
|
|
}))
|
|
pkgs-unstable.opencode
|
|
];
|
|
|
|
stateVersion = "24.11";
|
|
};
|
|
|
|
programs.zsh = {
|
|
shellAliases = {
|
|
# TODO BEGIN Interpolate the name of the host here.
|
|
flakeconf = "nvim ${homeDirectory}/nixos/flake.nix";
|
|
sysconf = "nvim ${homeDirectory}/nixos/hosts/macbook/configuration.nix";
|
|
homeconf = "nvim ${homeDirectory}/nixos/hosts/macbook/home.nix";
|
|
nvconf = "nvim ${homeDirectory}/nixos/home-modules/explicit-configs/nvim/init.lua";
|
|
nrsw = "sudo darwin-rebuild switch --flake ${homeDirectory}/nixos#macbook";
|
|
};
|
|
};
|
|
}
|