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

39 lines
889 B
Nix
Raw Normal View History

{ 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;
};
};
2024-04-14 23:02:32 +02:00
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;
};
};
2024-04-14 23:02:32 +02:00
description = ''
Sets custom system preferences
'';
};
};
}