aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-07-17 07:35:29 -0700
committerFranck Cuny <franck@fcuny.net>2025-07-17 07:35:29 -0700
commit9c40421e52f1c06a5d455e66a648ba6af79ca2ad (patch)
tree4589977e668333dcd5a583219a053555b18ac7e5
parentbuild and deploy my personal website on the VM (diff)
downloadinfra-9c40421e52f1c06a5d455e66a648ba6af79ca2ad.tar.gz
configure the nixbld GID in the host configuration directly
Diffstat (limited to '')
-rw-r--r--nix/lib/mkSystem.nix2
-rw-r--r--nix/machines/mba-m2/default.nix3
2 files changed, 3 insertions, 2 deletions
diff --git a/nix/lib/mkSystem.nix b/nix/lib/mkSystem.nix
index e96e1ef..41f4f3c 100644
--- a/nix/lib/mkSystem.nix
+++ b/nix/lib/mkSystem.nix
@@ -48,8 +48,6 @@ systemFunc rec {
]
++ [
{
- # https://github.com/nix-darwin/nix-darwin/issues/1339
- ids.gids.nixbld = 30000;
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.sharedModules = [
diff --git a/nix/machines/mba-m2/default.nix b/nix/machines/mba-m2/default.nix
index 2e7faf6..565360c 100644
--- a/nix/machines/mba-m2/default.nix
+++ b/nix/machines/mba-m2/default.nix
@@ -2,6 +2,9 @@
{
imports = [ ../darwin-shared.nix ];
+ # https://github.com/nix-darwin/nix-darwin/issues/1339
+ ids.gids.nixbld = 30000;
+
system.stateVersion = 5;
networking.hostName = "mba-m2";