diff options
| author | Simon Holywell <simon@holywell.com.au> | 2019-11-04 14:54:31 +1000 |
|---|---|---|
| committer | Simon Holywell <simon@holywell.com.au> | 2019-11-04 14:54:31 +1000 |
| commit | 42c8f9bce3d0580cd3f155ef29e3f779ac716c5b (patch) | |
| tree | b7a302609c1739afb70201c473d1a2cc8b4c3dbd /modules/system/defaults-write.nix | |
| parent | 6100c826d40cd6b97ad8f3ddde4c2219c4ea637b (diff) | |
adds com.apple.SoftwareUpdate
Diffstat (limited to 'modules/system/defaults-write.nix')
| -rw-r--r-- | modules/system/defaults-write.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/system/defaults-write.nix b/modules/system/defaults-write.nix index adbe939..6c79138 100644 --- a/modules/system/defaults-write.nix +++ b/modules/system/defaults-write.nix @@ -29,6 +29,7 @@ let alf = defaultsToList "/Library/Preferences/com.apple.alf" cfg.alf; loginwindow = defaultsToList "/Library/Preferences/com.apple.loginwindow" cfg.loginwindow; smb = defaultsToList "/Library/Preferences/SystemConfiguration/com.apple.smb.server" cfg.smb; + SoftwareUpdate = defaultsToList "/Library/Preferences/SystemConfiguration/com.apple.SoftwareUpdate" cfg.SoftwareUpdate; screencapture = defaultsToList "com.apple.screencapture" cfg.screencapture; spaces = defaultsToList "com.apple.spaces" cfg.spaces; trackpad = defaultsToList "com.apple.AppleMultitouchTrackpad" cfg.trackpad; @@ -40,13 +41,14 @@ in { config = { - system.activationScripts.defaults.text = mkIfAttrs [ alf loginwindow smb ] + system.activationScripts.defaults.text = mkIfAttrs [ alf loginwindow smb SoftwareUpdate ] '' # Set defaults echo >&2 "system defaults..." ${concatStringsSep "\n" alf} ${concatStringsSep "\n" loginwindow} ${concatStringsSep "\n" smb} + ${concatStringsSep "\n" SoftwareUpdate} ''; system.activationScripts.userDefaults.text = mkIfAttrs |
