❄️ Dotfiles for our NixOS system configuration.

feat(darwin): custom options

Chloe f11b86a8 b87568ab

Changed files
+17
modules
darwin
preferences
+16
modules/darwin/preferences/custom.nix
···
···
+
{
+
# Custom settings not supported directly by nix-darwin.
+
# TODO: Research other useful custom settings.
+
# https://github.com/yannbertrand/macos-defaults
+
+
system.defaults.CustomUserPreferences = {
+
# Lock the size of the dock.
+
"com.apple.dock".size-immutable = true;
+
+
# Prevent creation of .DS_Store files on network or USB volumes.
+
"com.apple.desktopservices" = {
+
DSDontWriteNetworkStores = true;
+
DSDontWriteUSBStores = true;
+
};
+
};
+
}
+1
modules/darwin/preferences/default.nix
···
{
imports = [
./dock.nix
./finder.nix
./keyboard.nix
···
{
imports = [
+
./custom.nix
./dock.nix
./finder.nix
./keyboard.nix