2023-03-29 21:06:19 -04:00
|
|
|
{ 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;
|
|
|
|
};
|
2023-04-20 01:57:45 -04:00
|
|
|
NSGlobalDomain = {
|
2023-03-29 21:06:19 -04:00
|
|
|
# Enable dark mode
|
|
|
|
AppleInterfaceStyle = "Dark";
|
|
|
|
# Disable "natural" scrolling
|
2023-03-30 09:44:02 -04:00
|
|
|
"com.apple.swipescrolldirection" = false;
|
2023-03-29 21:06:19 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|