2022-04-24 07:19:56 +00:00
|
|
|
{ lib, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
targets.darwin = {
|
|
|
|
defaults."com.apple.desktopservices".DSDontWriteNetworkStores = true;
|
|
|
|
currentHostDefaults."com.apple.controlcenter".BatteryShowPercentage =
|
|
|
|
true;
|
|
|
|
};
|
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
assertFileRegex activate \
|
2022-11-05 03:10:27 +00:00
|
|
|
"/usr/bin/defaults import 'com.apple.desktopservices' /nix/store/[a-z0-9]\\{32\\}-com\\.apple\\.desktopservices\\.plist"
|
2022-04-24 07:19:56 +00:00
|
|
|
assertFileRegex activate \
|
2022-11-05 03:10:27 +00:00
|
|
|
"/usr/bin/defaults -currentHost import 'com.apple.controlcenter' /nix/store/[a-z0-9]\\{32\\}-com\\.apple\\.controlcenter\\.plist"
|
2022-04-24 07:19:56 +00:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|