This commit is contained in:
lsoriano-mcm
2025-06-23 14:32:58 -05:00
commit b631cb20a4
16 changed files with 483 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
{
pkgs,
builds,
general,
...
}: {
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
environment.systemPackages = with pkgs; [
python313
];
# Auto upgrade nix package and the daemon service.
# services.nix-daemon.enable = true;
# services.karabiner-elements.enable = true;
# nix.package = pkgs.nix;
# Necessary for using flakes on this system.
nix.settings.experimental-features = "nix-command flakes";
nix.settings.trusted-users = builds.builder.trustedUsers;
# Create /etc/zshrc that loads the nix-darwin environment.
programs.zsh.enable = true; # default shell on catalina
programs.fish.enable = true;
# $ darwin-rebuild changelog
system.stateVersion = 5;
# The platform the configuration will be used on.
nixpkgs.hostPlatform = "aarch64-darwin";
users.users.${general.Username} = {
name = "${general.Username}";
home = "/Users/${general.Username}";
shell = pkgs.${general.terminal.Shell};
};
home-manager.users.${general.Username} = import ../../dotfiles/macos.nix;
}