Skip to content

Commit

Permalink
configure macOS languages and locale using Home Manager
Browse files Browse the repository at this point in the history
  • Loading branch information
franckrasolo committed Aug 1, 2024
1 parent 4d165da commit a34ed0d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions darwin/macOS/miscellaneous.nix
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@
"com.apple.swipescrolldirection" = true;
};

home-manager.users.${user.accountName}.targets.darwin.defaults.NSGlobalDomain = {
AppleLanguages = [ "en" ];
AppleLocale = "en_GB@currency=GBP";
};

system.defaults.LaunchServices = {
# disable the "Are you sure you want to open this application?" dialog
LSQuarantine = false;
Expand Down
3 changes: 0 additions & 3 deletions darwin/macOS/postUserActivation.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@
# load Bunch automations
open 'x-bunch://setPref?configDir=~/.xdg/config/bunches'
defaults write NSGlobalDomain AppleLanguages -array "en"
defaults write NSGlobalDomain AppleLocale -string "en_GB@currency=GBP"
'';
}

0 comments on commit a34ed0d

Please sign in to comment.