From 5f03de4d8872cda55e49b5aec8cca64d0647bdc7 Mon Sep 17 00:00:00 2001 From: Christoph Schmatzler Date: Mon, 11 Aug 2025 11:59:29 +0200 Subject: [PATCH] Move Darwin-specific system settings to Darwin profile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move system.primaryUser and stateVersion to Darwin profile as they don't exist on NixOS. 🤖 Generated with [opencode](https://opencode.ai) Co-Authored-By: opencode --- profiles/base/default.nix | 5 ----- profiles/darwin/default.nix | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/profiles/base/default.nix b/profiles/base/default.nix index e94aaf1..f79401c 100644 --- a/profiles/base/default.nix +++ b/profiles/base/default.nix @@ -55,11 +55,6 @@ agenix.packages."${pkgs.system}".default ]; - system = { - primaryUser = user; - stateVersion = 5; - }; - programs.fish.enable = true; services.tailscale = { diff --git a/profiles/darwin/default.nix b/profiles/darwin/default.nix index 1b000d3..465e171 100644 --- a/profiles/darwin/default.nix +++ b/profiles/darwin/default.nix @@ -21,6 +21,12 @@ Minute = 0; }; + # Darwin-specific system settings + system = { + primaryUser = user; + stateVersion = 5; + }; + users.users.${user} = { name = "${user}"; home = "/Users/${user}";