aboutsummaryrefslogtreecommitdiff
path: root/hosts/darwin/configuration.nix
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-05-02 13:54:33 +0200
committerschererleander <leander@schererleander.de>2025-05-02 13:54:33 +0200
commit971c48da072b26bda8bb9b5f6ccda6148b169cd6 (patch)
treeb737525366683859937f7e754652dd044f896dbb /hosts/darwin/configuration.nix
parent3cbb9d5b49a7ea6e22513c2bcb931392ab97244f (diff)
setup nix-darwin
Diffstat (limited to 'hosts/darwin/configuration.nix')
-rw-r--r--hosts/darwin/configuration.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/hosts/darwin/configuration.nix b/hosts/darwin/configuration.nix
new file mode 100644
index 0000000..fc1ba38
--- /dev/null
+++ b/hosts/darwin/configuration.nix
@@ -0,0 +1,15 @@
+{ config, pkgs, lib, ...}:
+
+{
+ services.nix-daemon.enable = true;
+ programs.zsh.enable = true;
+
+ users.users.schererleander = {
+ home = "/Users/schererleander";
+ shell = pkgs.zsh;
+ };
+
+ nixpkgs.hostPlatform = "aarch64-darwin";
+ nixpkgs.config.allowUnfree = true;
+ system.stateVersion = 5;
+}