diff --git a/flake.nix b/flake.nix index 5101cdd..f73f4fc 100644 --- a/flake.nix +++ b/flake.nix @@ -112,7 +112,7 @@ }; }; darwinConfigurations = { - CEN-IT-07 = nix-darwin.lib.darwinSystem { + cen-it-07 = nix-darwin.lib.darwinSystem { system = systems.darwin; specialArgs = {inherit inputs stable_pkgs unstable_pkgs nix-homebrew;}; modules = [ diff --git a/hosts/darwin/cen-it-07/configuration.nix b/hosts/darwin/cen-it-07/configuration.nix index 575309c..0082f8d 100644 --- a/hosts/darwin/cen-it-07/configuration.nix +++ b/hosts/darwin/cen-it-07/configuration.nix @@ -24,7 +24,7 @@ # since darwin needs root now (will be removed in future) - system.primaryUser = "bhelderman" + system.primaryUser = "bhelderman"; power = { sleep = { diff --git a/hosts/darwin/default.nix b/hosts/darwin/default.nix index bb0b08d..237c549 100644 --- a/hosts/darwin/default.nix +++ b/hosts/darwin/default.nix @@ -8,6 +8,12 @@ /* instructions for first time setup for macos here +1. install the nix package manager with: `sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install)` +2. xfer or git clone flake to ~/.nix +3. sign into icloud and by extension app store for mas +4. rename some shell rc files with `sudo mv /etc/bashrc /etc/bashrc.before-nix-darwin && sudo mv /etc/zshrc /etc/zshrc.before-nix-darwin` +5. install nix-darwin with: `nix run --extra-experimental-features "nix-command flakes" nix-darwin -- switch --flake ~/.nix#host` +6. nh should be installed now so enjoy and use `nh darwin switch` */ imports = [ diff --git a/modules/darwin/default.nix b/modules/darwin/default.nix index cbd247b..d1a5ede 100644 --- a/modules/darwin/default.nix +++ b/modules/darwin/default.nix @@ -10,6 +10,7 @@ ./syncthing ./yubikey ./work + ./apps # ./sops ];