This repository has been archived on 2024-07-29. You can view files and clone it, but cannot push or open issues or pull requests.
nix-config/darwin/default.nix
2024-07-19 02:08:20 -04:00

27 lines
623 B
Nix

{ pkgs, config, ... }:
{
homebrew = import ./homebrew.nix;
environment.systemPackages = with pkgs; [
vim
gnutls
ripgrep
];
nixpkgs.config.allowUnfree = true;
# Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true;
# Necessary for using flakes on this system.
nix.settings.experimental-features = "nix-command flakes";
# Used for backwards compatibility, please read the changelog before changing.
# $ darwin-rebuild changelog
system.stateVersion = 4;
# The platform the configuration will be used on.
nixpkgs.hostPlatform = "aarch64-darwin";
}