mirror of
https://github.com/nmasur/dotfiles
synced 2026-07-07 00:53:57 +00:00
switch from nix-darwin control to more home-manager darwin settings
This commit is contained in:
@@ -25,76 +25,76 @@ in
|
||||
enableKeyMapping = true; # Allows for skhd
|
||||
};
|
||||
|
||||
defaults = {
|
||||
NSGlobalDomain = {
|
||||
# defaults = {
|
||||
# NSGlobalDomain = {
|
||||
|
||||
# Set to dark mode
|
||||
AppleInterfaceStyle = "Dark";
|
||||
# # Set to dark mode
|
||||
# AppleInterfaceStyle = "Dark";
|
||||
|
||||
# Don't change from dark to light automatically
|
||||
# AppleInterfaceSwitchesAutomatically = false;
|
||||
# # Don't change from dark to light automatically
|
||||
# # AppleInterfaceSwitchesAutomatically = false;
|
||||
|
||||
# Enable full keyboard access for all controls (e.g. enable Tab in modal dialogs)
|
||||
AppleKeyboardUIMode = 3;
|
||||
# # Enable full keyboard access for all controls (e.g. enable Tab in modal dialogs)
|
||||
# AppleKeyboardUIMode = 3;
|
||||
|
||||
# Expand save panel by default
|
||||
NSNavPanelExpandedStateForSaveMode = true;
|
||||
# # Expand save panel by default
|
||||
# NSNavPanelExpandedStateForSaveMode = true;
|
||||
|
||||
# Expand print panel by default
|
||||
PMPrintingExpandedStateForPrint = true;
|
||||
# # Expand print panel by default
|
||||
# PMPrintingExpandedStateForPrint = true;
|
||||
|
||||
# Replace press-and-hold with key repeat
|
||||
ApplePressAndHoldEnabled = false;
|
||||
# # Replace press-and-hold with key repeat
|
||||
# ApplePressAndHoldEnabled = false;
|
||||
|
||||
# Set a fast key repeat rate
|
||||
KeyRepeat = 2;
|
||||
# # Set a fast key repeat rate
|
||||
# KeyRepeat = 2;
|
||||
|
||||
# Shorten delay before key repeat begins
|
||||
InitialKeyRepeat = 12;
|
||||
# # Shorten delay before key repeat begins
|
||||
# InitialKeyRepeat = 12;
|
||||
|
||||
# Disable autocorrect capitalization
|
||||
NSAutomaticCapitalizationEnabled = false;
|
||||
# # Disable autocorrect capitalization
|
||||
# NSAutomaticCapitalizationEnabled = false;
|
||||
|
||||
# Disable autocorrect smart dashes
|
||||
NSAutomaticDashSubstitutionEnabled = false;
|
||||
# # Disable autocorrect smart dashes
|
||||
# NSAutomaticDashSubstitutionEnabled = false;
|
||||
|
||||
# Disable autocorrect adding periods
|
||||
NSAutomaticPeriodSubstitutionEnabled = false;
|
||||
# # Disable autocorrect adding periods
|
||||
# NSAutomaticPeriodSubstitutionEnabled = false;
|
||||
|
||||
# Disable autocorrect smart quotation marks
|
||||
NSAutomaticQuoteSubstitutionEnabled = false;
|
||||
# # Disable autocorrect smart quotation marks
|
||||
# NSAutomaticQuoteSubstitutionEnabled = false;
|
||||
|
||||
# Disable autocorrect spellcheck
|
||||
NSAutomaticSpellingCorrectionEnabled = false;
|
||||
};
|
||||
# # Disable autocorrect spellcheck
|
||||
# NSAutomaticSpellingCorrectionEnabled = false;
|
||||
# };
|
||||
|
||||
# Disable "Are you sure you want to open" dialog
|
||||
LaunchServices.LSQuarantine = false;
|
||||
# # Disable "Are you sure you want to open" dialog
|
||||
# LaunchServices.LSQuarantine = false;
|
||||
|
||||
# Disable trackpad tap to click
|
||||
trackpad.Clicking = false;
|
||||
# # Disable trackpad tap to click
|
||||
# trackpad.Clicking = false;
|
||||
|
||||
# Where to save screenshots
|
||||
screencapture.location = "~/Downloads";
|
||||
# # Where to save screenshots
|
||||
# screencapture.location = "~/Downloads";
|
||||
|
||||
CustomUserPreferences = {
|
||||
# Disable disk image verification
|
||||
"com.apple.frameworks.diskimages" = {
|
||||
skip-verify = true;
|
||||
skip-verify-locked = true;
|
||||
skip-verify-remote = true;
|
||||
};
|
||||
# Require password immediately after screen saver begins
|
||||
"com.apple.screensaver" = {
|
||||
askForPassword = 1;
|
||||
askForPasswordDelay = 0;
|
||||
};
|
||||
};
|
||||
# CustomUserPreferences = {
|
||||
# # Disable disk image verification
|
||||
# "com.apple.frameworks.diskimages" = {
|
||||
# skip-verify = true;
|
||||
# skip-verify-locked = true;
|
||||
# skip-verify-remote = true;
|
||||
# };
|
||||
# # Require password immediately after screen saver begins
|
||||
# "com.apple.screensaver" = {
|
||||
# askForPassword = 1;
|
||||
# askForPasswordDelay = 0;
|
||||
# };
|
||||
# };
|
||||
|
||||
CustomSystemPreferences = {
|
||||
# CustomSystemPreferences = {
|
||||
|
||||
};
|
||||
};
|
||||
# };
|
||||
# };
|
||||
|
||||
# # Settings that don't have an option in nix-darwin
|
||||
# activationScripts.postActivation.text = ''
|
||||
|
||||
@@ -17,31 +17,31 @@ in
|
||||
system.primaryUser = config.nmasur.settings.username;
|
||||
|
||||
nmasur.presets = {
|
||||
programs = {
|
||||
fish.enable = lib.mkDefault true;
|
||||
homebrew.enable = lib.mkDefault true;
|
||||
};
|
||||
# programs = {
|
||||
# fish.enable = lib.mkDefault true;
|
||||
# homebrew.enable = lib.mkDefault true;
|
||||
# };
|
||||
services = {
|
||||
daily-summary.enable = lib.mkDefault false;
|
||||
dock.enable = lib.mkDefault true;
|
||||
finder.enable = lib.mkDefault true;
|
||||
hammerspoon.enable = lib.mkDefault true;
|
||||
menubar.enable = lib.mkDefault true;
|
||||
# daily-summary.enable = lib.mkDefault false;
|
||||
# dock.enable = lib.mkDefault true;
|
||||
# finder.enable = lib.mkDefault true;
|
||||
# hammerspoon.enable = lib.mkDefault true;
|
||||
# menubar.enable = lib.mkDefault true;
|
||||
nix.enable = lib.mkDefault true;
|
||||
settings.enable = lib.mkDefault true;
|
||||
user.enable = lib.mkDefault true;
|
||||
};
|
||||
};
|
||||
|
||||
homebrew.brews = [
|
||||
"trash" # Delete files and folders to trash instead of rm
|
||||
];
|
||||
homebrew.casks = [
|
||||
"scroll-reverser" # Different scroll style for mouse vs. trackpad
|
||||
"notunes" # Don't launch Apple Music with the play button
|
||||
"topnotch" # Darkens the menu bar to complete black
|
||||
"ghostty" # Terminal application (not buildable on Nix on macOS)
|
||||
];
|
||||
# homebrew.brews = [
|
||||
# "trash" # Delete files and folders to trash instead of rm
|
||||
# ];
|
||||
# homebrew.casks = [
|
||||
# "scroll-reverser" # Different scroll style for mouse vs. trackpad
|
||||
# "notunes" # Don't launch Apple Music with the play button
|
||||
# "topnotch" # Darkens the menu bar to complete black
|
||||
# "ghostty" # Terminal application (not buildable on Nix on macOS)
|
||||
# ];
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -16,12 +16,12 @@ in
|
||||
|
||||
nmasur.profiles.base.enable = lib.mkDefault true;
|
||||
|
||||
homebrew.casks = [
|
||||
"1password" # 1Password will not launch from Nix on macOS
|
||||
# "gitify" # Git notifications in menu bar (downgrade manually from 4.6.1)
|
||||
# "logitech-g-hub" # Mouse and keyboard management
|
||||
"logitune" # Logitech webcam firmware
|
||||
"meetingbar" # Show meetings in menu bar
|
||||
];
|
||||
# homebrew.casks = [
|
||||
# "1password" # 1Password will not launch from Nix on macOS
|
||||
# # "gitify" # Git notifications in menu bar (downgrade manually from 4.6.1)
|
||||
# # "logitech-g-hub" # Mouse and keyboard management
|
||||
# "logitune" # Logitech webcam firmware
|
||||
# "meetingbar" # Show meetings in menu bar
|
||||
# ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user