chore(nix): Disable auto install macOS update
This commit is contained in:
parent
c409f194eb
commit
dff532c060
1 changed files with 7 additions and 2 deletions
|
@ -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 = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue