From 683cfb67396b21b3c93a99ca344c8a5df400b60e Mon Sep 17 00:00:00 2001 From: nyxerinys Date: Mon, 22 Jun 2026 13:24:03 -0500 Subject: [PATCH] set nix-darwin settings --- flake.nix | 1 - hosts/artemis/default.nix | 13 +++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index fb77fb1..530e416 100644 --- a/flake.nix +++ b/flake.nix @@ -57,7 +57,6 @@ } // blades; darwinConfigurations."Artemis" = nix-darwin.lib.darwinSystem { - nixpkgs.hostPlatform = "aarch64-darwin"; modules = [ # ./hosts/base.nix ./hosts/artemis diff --git a/hosts/artemis/default.nix b/hosts/artemis/default.nix index f01f290..8fd74f7 100644 --- a/hosts/artemis/default.nix +++ b/hosts/artemis/default.nix @@ -5,4 +5,17 @@ vscodium ]; security.pam.enableSudoTouchIdAuth = true; + + # Necessary for using flakes on this system. + nix.settings.experimental-features = "nix-command flakes"; + # Used for backwards compatibility, please read the changelog before changing. + # $ darwin-rebuild changelog + system.stateVersion = 4; + + # The platform the configuration will be used on. + nixpkgs.hostPlatform = "aarch64-darwin"; + users.users.nyxerinys = { + name = "Nyx"; + home = "/Users/nyxerinys"; + } } \ No newline at end of file