1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-06 08:47:00 +00:00
nix-darwin/modules/system/defaults/CustomPreferences.nix

38 lines
889 B
Nix

{ config, lib, ... }:
with lib;
{
options = {
system.defaults.CustomUserPreferences = mkOption {
type = types.attrs;
default = { };
example = {
"NSGlobalDomain" = { "TISRomanSwitchState" = 1; };
"com.apple.Safari" = {
"com.apple.Safari.ContentPageGroupIdentifier.WebKit2DeveloperExtrasEnabled" =
true;
};
};
description = ''
Sets custom user preferences
'';
};
system.defaults.CustomSystemPreferences = mkOption {
type = types.attrs;
default = { };
example = {
"NSGlobalDomain" = { "TISRomanSwitchState" = 1; };
"com.apple.Safari" = {
"com.apple.Safari.ContentPageGroupIdentifier.WebKit2DeveloperExtrasEnabled" =
true;
};
};
description = ''
Sets custom system preferences
'';
};
};
}