From bee32b5b2b1c86628fd3d8f5f473642ebe268af3 Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Mon, 14 Jul 2025 20:15:17 +0800 Subject: [PATCH 1/2] feat(darwin): add admin as primary user --- nix/modules/system/users.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/modules/system/users.nix b/nix/modules/system/users.nix index 85fceb3..35b199b 100644 --- a/nix/modules/system/users.nix +++ b/nix/modules/system/users.nix @@ -36,6 +36,7 @@ in flake.modules.darwin.default = { config, ... }: { + system.primaryUser = cfg.admin.username; users.knownUsers = attrNames cfg.manifest.users; users.users = forAllUsers' ( name: _: { From 399e049775c1ef5dd73315b72b7306218c0e0e27 Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Mon, 14 Jul 2025 21:46:18 +0800 Subject: [PATCH 2/2] feat(darwin): add vial with homebrew --- nix/homes/rafiq/desktop/darwin.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/homes/rafiq/desktop/darwin.nix b/nix/homes/rafiq/desktop/darwin.nix index 4178396..9c4565b 100644 --- a/nix/homes/rafiq/desktop/darwin.nix +++ b/nix/homes/rafiq/desktop/darwin.nix @@ -16,6 +16,7 @@ in "slack" "gitify" "telegram" + "vial" ]; }; flake.modules.homeManager.rafiq = {