chore(nix): Disable auto install macOS update

This commit is contained in:
Ahmad Ansori Palembani 2024-07-13 08:36:16 +07:00
parent c409f194eb
commit dff532c060
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -1,8 +1,12 @@
{ pkgs, vars, ... }: { pkgs, vars, ... }:
{ {
# List packages installed in system profile. To search by name, run: # I don't want to risk breaking my hackintosh setup in case Apple decided to
# $ nix-env -qaP | grep wget # turn on auto install by default.
system.defaults.SoftwareUpdate.AutomaticallyInstallMacOSUpdates = false;
# NOTE: List packages installed in system profile. To search by name, run:
# `nix-env -qaP | grep wget`
environment.systemPackages = [ environment.systemPackages = [
pkgs.zsh pkgs.zsh
pkgs.git pkgs.git
@ -52,6 +56,7 @@
# The platform the configuration will be used on. # The platform the configuration will be used on.
nixpkgs.hostPlatform = vars.arch; nixpkgs.hostPlatform = vars.arch;
# Swap CapsLock with Esc for better vi-mode experience.
launchd.user.agents.CapsEscSwap = { launchd.user.agents.CapsEscSwap = {
serviceConfig = { serviceConfig = {
ProgramArguments = [ ProgramArguments = [