31 lines
779 B
Nix
31 lines
779 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;
|
|
|
|
# Configure spaces to span displays (required for aerospace multi-monitor support)
|
|
CustomUserPreferences = {
|
|
"com.apple.spaces" = {
|
|
spans-displays = 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";
|
|
};
|
|
}
|