diff --git a/flake.nix b/flake.nix index 838415c..4ac7a8e 100644 --- a/flake.nix +++ b/flake.nix @@ -15,6 +15,10 @@ outputs = inputs@{ self, nix-darwin, nixpkgs, home-manager, nixvim, claude-code }: let configuration = { pkgs, ... }: { + imports = [ + ./system + ]; + environment.systemPackages = [ pkgs.vim pkgs.git diff --git a/system/default.nix b/system/default.nix new file mode 100644 index 0000000..7a39153 --- /dev/null +++ b/system/default.nix @@ -0,0 +1,7 @@ +{ config, pkgs, ... }: + +{ + imports = [ + ./macos-defaults.nix + ]; +} \ No newline at end of file diff --git a/system/macos-defaults.nix b/system/macos-defaults.nix new file mode 100644 index 0000000..92d8304 --- /dev/null +++ b/system/macos-defaults.nix @@ -0,0 +1,12 @@ +{ config, pkgs, ... }: + +{ + system.defaults.NSGlobalDomain = { + # Menu bar spacing configuration + # NSStatusItemSpacing controls horizontal spacing between menu bar items + # NSStatusItemSelectionPadding controls padding inside selection overlay + # Optimal ratio is 1:2 (spacing:padding) + NSStatusItemSpacing = 6; + NSStatusItemSelectionPadding = 12; + }; +} \ No newline at end of file