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