feat: Add essential tools in darwin

This commit is contained in:
Leni Aniva 2024-11-24 00:55:13 -08:00
parent d0ae2e6a32
commit 5ff1283530
Signed by: aniva
GPG Key ID: 4D9B1C8D10EA4C50
2 changed files with 74 additions and 4 deletions

View File

@ -1,11 +1,33 @@
{ config, pkgs, ... }:
{ config, pkgs, ... }: let
tex = pkgs.texlive.combine {
inherit (pkgs.texlive) scheme-medium
latexmk
amsmath;
};
in
{
imports = [ ./homebrew.nix ./yabai-skhd.nix ];
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
environment.systemPackages = [
pkgs.vim
];
environment = {
variables = {
EDITOR = "vim";
VISUAL = "vim";
};
systemPackages = with pkgs; [
vim
imagemagick
ripgrep
direnv
nix-direnv
gnupg
rustup
elan
poetry
tex
];
};
# Auto upgrade nix package and the daemon service.
services = {

View File

@ -2,12 +2,60 @@
{
homebrew = {
enable = true;
onActivation = {
cleanup = "zap";
autoUpdate = false;
upgrade = false;
};
brews = [
"pinentry-mac"
];
casks = [
# System monitoring
"grandperspective"
"lulu"
"xrg"
# Desktop Environment
"karabiner-elements"
"kando"
# Inputs
"wacom-tablet"
# Multimedia
"vlc"
"darktable"
"adobe-dng-converter"
# Communications
"signal"
"slack"
"discord"
"zoom"
# Browsing
"firefox"
"zotero"
"anki"
"skim"
# Editors
"emacs-mac"
"arduino-ide"
"blender"
"inkscape"
# Terminal
"iterm2"
# Fonts
"font-source-code-pro"
];
taps = [
"koekeishiya/formulae"
"railwaycat/emacsmacport"
"caskroom/cask"
];
};
}