2024-12-04 16:58:32 -08:00
|
|
|
{ config, pkgs, ... }: {
|
2024-11-23 22:35:56 -08:00
|
|
|
imports = [ ./homebrew.nix ./yabai-skhd.nix ];
|
2024-11-15 15:12:16 -08:00
|
|
|
# List packages installed in system profile. To search by name, run:
|
|
|
|
# $ nix-env -qaP | grep wget
|
2024-11-24 00:55:13 -08:00
|
|
|
environment = {
|
|
|
|
variables = {
|
|
|
|
EDITOR = "vim";
|
|
|
|
VISUAL = "vim";
|
|
|
|
};
|
|
|
|
systemPackages = with pkgs; [
|
|
|
|
vim
|
|
|
|
ripgrep
|
2024-11-25 20:43:45 -08:00
|
|
|
fd
|
2024-11-24 00:55:13 -08:00
|
|
|
gnupg
|
|
|
|
|
2024-11-25 20:43:45 -08:00
|
|
|
direnv
|
|
|
|
nix-direnv
|
2024-11-24 00:55:13 -08:00
|
|
|
rustup
|
|
|
|
elan
|
|
|
|
poetry
|
2024-12-04 13:42:55 -08:00
|
|
|
(import ./tex.nix { inherit pkgs; })
|
2024-11-25 20:43:45 -08:00
|
|
|
cmake
|
|
|
|
|
|
|
|
ispell
|
|
|
|
|
|
|
|
# Media
|
|
|
|
imagemagick
|
|
|
|
fontconfig
|
2024-12-04 16:58:32 -08:00
|
|
|
|
|
|
|
pass
|
|
|
|
python312Packages.pygments
|
2024-11-24 00:55:13 -08:00
|
|
|
];
|
|
|
|
};
|
2024-11-15 15:12:16 -08:00
|
|
|
|
|
|
|
# Auto upgrade nix package and the daemon service.
|
2024-11-23 22:35:56 -08:00
|
|
|
services = {
|
|
|
|
nix-daemon.enable = true;
|
2024-12-04 13:42:55 -08:00
|
|
|
#karabiner-elements.enable = true;
|
2024-11-23 22:35:56 -08:00
|
|
|
sketchybar = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
nix = {
|
|
|
|
package = pkgs.nix;
|
|
|
|
settings.experimental-features = "nix-command flakes";
|
|
|
|
};
|
2024-11-15 15:12:16 -08:00
|
|
|
|
|
|
|
# Enable alternative shell support in nix-darwin.
|
|
|
|
programs.fish.enable = true;
|
|
|
|
|
|
|
|
# Used for backwards compatibility, please read the changelog before changing.
|
|
|
|
# $ darwin-rebuild changelog
|
2024-11-23 22:35:56 -08:00
|
|
|
system = {
|
|
|
|
stateVersion = 5;
|
|
|
|
defaults = {
|
|
|
|
dock = {
|
|
|
|
autohide = true;
|
|
|
|
orientation = "bottom";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-11-15 15:12:16 -08:00
|
|
|
}
|