System/modules/darwin/settings.nix

30 lines
750 B
Nix

{ config, lib, pkgs, ... }:
let nc = config.nathan.config;
in with lib; {
# Generic desktop configuration
config = mkIf nc.settings {
system = {
defaults = {
dock = {
autohide = true;
minimize-to-application = true;
show-recents = false;
# Don't rearrange spaces based on most recent use
mru-spaces = false;
};
finder = {
AppleShowAllExtensions = true;
ShowPathbar = true;
};
NSGlobalDomain = {
# Enable dark mode
AppleInterfaceStyle = "Dark";
# Disable "natural" scrolling
"com.apple.swipescrolldirection" = false;
"_HIHideMenuBar" = false;
};
};
};
};
}