Modernizing overlay

This commit is contained in:
Natsu Kagami 2022-07-04 15:41:04 -04:00
parent 53a04459c2
commit c9ee01f65e
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
4 changed files with 41 additions and 53 deletions

View file

@ -16,27 +16,12 @@ with lib;
];
homebrew.brews = [
# Base libraries
"coreutils"
# Compilers and Language Interpreters
"elm"
"llvm"
"luajit-openresty"
"node"
"perl"
"ruby@2.7"
# CLI tools
"pinentry-mac" # UI for Pin Entry on gpg Mac
# U2F
"pam-u2f"
] ++ (optionals (pkgs.system == "aarch64-darwin") [
# Because python on Nix is a bit abababa
"python@3.9"
"scipy"
]);
];
homebrew.casks = [
"anki"

View file

@ -16,7 +16,7 @@
# Auto upgrade nix package and the daemon service.
# services.nix-daemon.enable = true;
nix.package = pkgs.nixUnstable;
nix.package = pkgs.nixFlakes;
# Create /etc/bashrc that loads the nix-darwin environment.
programs.zsh.enable = true; # default shell on catalina
@ -25,9 +25,6 @@
## Networking related settings
networking.hostName = "nki-macbook";
## Programs
nixpkgs.config.allowUnfree = true;
environment.variables = {
EDITOR = ""; # don't set it by default