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

27 lines
645 B
Nix
Raw Normal View History

2024-07-19 01:08:20 -05:00
{ pkgs, config, ... }:
{
homebrew = import ./homebrew.nix // { enable = true; };
2024-07-19 01:08:20 -05:00
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";
}