mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
33 lines
967 B
Nix
33 lines
967 B
Nix
{ pkgs, config, ... }:
|
|
|
|
{
|
|
homebrew = import ./homebrew-common.nix;
|
|
|
|
# Auto upgrade nix package and the daemon service.
|
|
services.nix-daemon.enable = true;
|
|
services.karabiner-elements.enable = true;
|
|
|
|
# Necessary for using flakes on this system.
|
|
nix.settings.experimental-features = "nix-command flakes";
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
# Create /etc/zshrc that loads the nix-darwin environment.
|
|
programs.zsh.enable = true; # default shell on catalina
|
|
# programs.fish.enable = true;
|
|
|
|
# Used for backwards compatibility, please read the changelog before changing.
|
|
# $ darwin-rebuild changelog
|
|
system.stateVersion = 4;
|
|
|
|
system.defaults.NSGlobalDomain.ApplePressAndHoldEnabled = false;
|
|
system.defaults.dock.autohide = true;
|
|
|
|
system.defaults.NSGlobalDomain.InitialKeyRepeat = 15;
|
|
system.defaults.NSGlobalDomain.KeyRepeat = 2;
|
|
|
|
nixpkgs.hostPlatform = "aarch64-darwin";
|
|
|
|
services.skhd.enable = true;
|
|
services.yabai.enable = true;
|
|
}
|