{ config, lib, pkgs, ... }: { imports = [ ../../modules/aerospace.nix ]; # 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; }; # Enable our custom aerospace system configuration # (separate from nix-darwin's services.aerospace which manages the service) roles.aerospace = { enable = true; enableSpansDisplays = 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"; }; }