From c02f808d4938977dc001d39e2df30acce3d60416 Mon Sep 17 00:00:00 2001 From: blake Date: Mon, 17 Nov 2025 15:54:49 -0600 Subject: [PATCH] darwin config --- flake.nix | 11 +------ hosts/darwin/cen-it-07/configuration.nix | 37 ++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 10 deletions(-) create mode 100644 hosts/darwin/cen-it-07/configuration.nix diff --git a/flake.nix b/flake.nix index f59b9ae..5101cdd 100644 --- a/flake.nix +++ b/flake.nix @@ -116,17 +116,8 @@ system = systems.darwin; specialArgs = {inherit inputs stable_pkgs unstable_pkgs nix-homebrew;}; modules = [ - #./hosts/darwin/cen-it-07/configuration.nix + ./hosts/darwin/cen-it-07/configuration.nix inputs.home-manager.darwinModules.default - nix-homebrew.darwinModules.nix-homebrew - { - nix-homebrew = { - enable = true; # install homebrew - enableRosetta = true; # install homebrew for rosetta as well - autoMigrate = true; - user = "bhelderman"; # user owning homebrew prefix - }; - } ]; }; }; diff --git a/hosts/darwin/cen-it-07/configuration.nix b/hosts/darwin/cen-it-07/configuration.nix new file mode 100644 index 0000000..d170d25 --- /dev/null +++ b/hosts/darwin/cen-it-07/configuration.nix @@ -0,0 +1,37 @@ +{ + pkgs, + config, + lib, + inputs, + ... +}: { + + imports = [ + inputs.nix-homebrew.darwinModules.nix-homebrew + ../default.nix + ]; + + # base system package install list + environment.systemPackages = with pkgs; [ + ]; + + # set timezone + time.timeZone = "America/Chicago"; + + # allow proprietary packages + nixpkgs.config.allowUnfree = true; + + # enable flakes + nix.settings.experimental-features = ["nix-command" "flakes"]; + users.defaultUserShell = pkgs.zsh; + + nix-homebrew = { + enable = true; # install homebrew + system.stateVersion = 6; + enableRosetta = true; # install homebrew for rosetta as well + autoMigrate = true; + user = "bhelderman"; # user owning homebrew prefix + }; + + +}