Modernizing overlay
This commit is contained in:
parent
53a04459c2
commit
c9ee01f65e
4 changed files with 41 additions and 53 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue