Files
nix-config/systems/aarch64-darwin/macbook-pro/default.nix
2025-12-22 15:28:42 -06:00

51 lines
855 B
Nix
Executable File

{
pkgs,
...
}:
{
imports = [
./homebrew.nix
./programs.nix
./system.nix
# ./settings.nix
];
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
environment = {
variables = {
NH_OS_FLAKE = "/Users/mattjallen/nix-config";
};
systemPackages = with pkgs; [
attic-client
macpm
mas
nh
];
};
security.pam.services.sudo_local.touchIdAuth = true;
users.users.mattjallen = {
name = "mattjallen";
home = "/Users/mattjallen";
};
nix = {
linux-builder = {
enable = true;
config = ({ pkgs, ... }:
{
systemd.tmpfiles.rules = [
"d /var/cache/ccache 0770 root nixbld -"
];
});
};
};
nix-rosetta-builder = {
enable = false;
onDemand = true;
};
}