Files
home/hosts/personal/default.nix
2025-12-16 19:54:31 +01:00

37 lines
830 B
Nix

# Personal machine darwin configuration
#
# This file contains nix-darwin settings specific to the personal machine.
# It sets up system-level configuration and integrates with home-manager.
{
config,
pkgs,
lib,
username,
...
}: {
# Import darwin modules
imports = [
../../modules/darwin/system.nix
../../modules/darwin/homebrew.nix
];
# System-level programs
programs = {
# Enable zsh as it's the default macOS shell
zsh.enable = true;
};
# macOS system preferences will be configured in modules/darwin/system.nix
# Homebrew configuration - enable with personal casks
modules.homebrew = {
enable = true;
casks.enablePersonal = true;
};
# Used for backwards compatibility, read the changelog before changing.
# $ darwin-rebuild changelog
system.stateVersion = 5;
}