feat: Add essential tools in darwin
This commit is contained in:
parent
d0ae2e6a32
commit
5ff1283530
|
@ -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 = {
|
||||
|
|
|
@ -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"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue