Implement Linux-style Ctrl shortcuts (Ctrl+C/V/X/Z for clipboard, Ctrl+N/T/W for navigation, etc.) while preserving terminal behavior where Ctrl+C sends SIGINT. Uses per-app NSUserKeyEquivalents to remap Ghostty back to Cmd for clipboard operations. Also consolidate aerospace configuration by moving spans-displays preference from system-level module to home-manager role, allowing full aerospace configuration to live in home-manager for better modularity.
24 lines
585 B
Nix
24 lines
585 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
# Basic system configuration for macOS work laptop
|
|
system.stateVersion = 6;
|
|
|
|
# Set primary user for nix-darwin
|
|
system.primaryUser = "johno";
|
|
|
|
# System preferences (can be expanded later)
|
|
system.defaults = {
|
|
dock.autohide = true;
|
|
finder.AppleShowAllExtensions = true;
|
|
NSGlobalDomain.AppleShowAllExtensions = true;
|
|
};
|
|
|
|
# TODO: Find a way to not duplicate this
|
|
launchd.user.envVariables = {
|
|
# DOOM Emacs environment variables
|
|
DOOMDIR = "/Users/johno/.config/doom";
|
|
DOOMLOCALDIR = "/Users/johno/.local/doom";
|
|
};
|
|
}
|