summaryrefslogtreecommitdiff
path: root/hosts/mac/m1mba/configuration.nix
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2024-07-21 01:49:04 +0700
committerpolwex <polwex@sortug.com>2024-07-21 01:49:04 +0700
commite64f7a78e01e5fa661471cb518cc71fc33223b5a (patch)
tree691c444cf66e2f9d1ee63e4589ed09ec502baa3b /hosts/mac/m1mba/configuration.nix
parent0816d59542658a62928050ef5f08e1460e554959 (diff)
m
Diffstat (limited to 'hosts/mac/m1mba/configuration.nix')
-rw-r--r--hosts/mac/m1mba/configuration.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/hosts/mac/m1mba/configuration.nix b/hosts/mac/m1mba/configuration.nix
new file mode 100644
index 0000000..373f781
--- /dev/null
+++ b/hosts/mac/m1mba/configuration.nix
@@ -0,0 +1,18 @@
+{...}: {
+ imports = [
+ ../../base.nix
+ ../mac.nix
+ ./users.nix
+ ./pkgs.nix
+ ];
+
+ # Auto upgrade nix package and the daemon service.
+ services.nix-daemon.enable = true;
+ # nix.package = pkgs.nix;
+ # 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";
+}