feat: add menu bar clock setting

This commit is contained in:
Guanran Wang 2023-09-20 07:05:27 +08:00
parent a92536217e
commit affe94bcc5
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -39,10 +39,11 @@
programs.zsh.enable = true; # default shell on catalina
programs.fish.enable = true;
system.defaults.finder = {
system.defaults = {
# Apple... Do I really have to change literally
# every setting in Finder to make it actually usable
# every setting in macOS to make it actually usable
# NOTE: default of those options is `null` (unmanaged)
finder = {
_FXShowPosixPathInTitle = false;
AppleShowAllExtensions = true;
AppleShowAllFiles = true;
@ -54,6 +55,16 @@
ShowPathbar = true;
ShowStatusBar = false;
};
menuExtraClock = {
IsAnalog = false;
Show24Hour = false;
ShowAMPM = true;
ShowDate = 0; # 0 = show, 1, 2 = don't show
ShowDayOfMonth = true;
ShowDayOfWeek = true;
ShowSeconds = false;
};
};
# Set Git commit hash for darwin-version.
#system.configurationRevision = self.rev or self.dirtyRev or null;