finally set up some of nix-darwin

This commit is contained in:
mjallen18
2025-07-14 08:42:31 -05:00
parent 059e72584f
commit 58ba094456
9 changed files with 416 additions and 194 deletions

17
hosts/mac/nix.nix Normal file
View File

@@ -0,0 +1,17 @@
{ ... }:
{
# Auto upgrade nix package and the daemon service.
# services.nix-daemon.enable = true;
# nix.package = pkgs.nix;
# Necessary for using flakes on this system.
nix = {
settings.experimental-features = "nix-command flakes";
};
# The platform the configuration will be used on.
nixpkgs = {
config.allowUnfree = true;
hostPlatform = "aarch64-darwin";
};
}