From 625883705e7eec43ccbe7d31c49abf7d9b8b09a9 Mon Sep 17 00:00:00 2001 From: ChaotiCryptidz Date: Wed, 9 Mar 2022 19:02:20 +0000 Subject: [PATCH] instru --- MACMINI_SETUP_GUIDE.md | 4 ++-- hosts/default.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MACMINI_SETUP_GUIDE.md b/MACMINI_SETUP_GUIDE.md index a7b402a..87ea944 100644 --- a/MACMINI_SETUP_GUIDE.md +++ b/MACMINI_SETUP_GUIDE.md @@ -18,8 +18,8 @@ nix-shell -p git --run "git clone https://gitlab.com/ChaotiCryptidz/nixfiles" ``` ### Bootstrap Nix-Darwin ``` -nix build .#darwinConfigurations.MacMini.system -./result/sw/bin/darwin-rebuild switch --flake ~/.config/darwin +nix --experimental-features "nix-command flakes" build .#darwinConfigurations.MacMini.system +./result/sw/bin/darwin-rebuild switch --flake .#darwinConfigurations.MacMini ``` diff --git a/hosts/default.nix b/hosts/default.nix index 029e117..adae80f 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -1,4 +1,4 @@ {...}@inputs: { nixosConfigurations = import ./nixos.nix inputs; - darwinConfigurations = import ./darwin inputs; + darwinConfigurations = import ./darwin.nix inputs; } \ No newline at end of file