This commit is contained in:
2026-07-27 19:43:31 +09:00
parent 8fec0494ec
commit 0257b2e2fd
4 changed files with 22 additions and 7 deletions
Generated
+5 -5
View File
@@ -1186,16 +1186,16 @@
},
"systems_6": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"repo": "default",
"type": "github"
}
},
+1 -1
View File
@@ -96,7 +96,7 @@
};
# Systems
systems.url = "github:nix-systems/default-linux";
systems.url = "github:nix-systems/default";
};
outputs =
+12
View File
@@ -14,4 +14,16 @@
"workload.tailscale.client"
];
};
m2 = {
system = "aarch64-darwin";
stateVersion = "26.05";
user = "moons";
path = ./m2;
profiles = [
"base"
"interface.cli-minimal"
];
};
}
+4 -1
View File
@@ -145,7 +145,10 @@ let
modules = [
(registry.mkModule { class = "darwin"; })
(registry.mkSelectionModule selected)
{ networking.hostName = lib.mkDefault name; }
{
networking.hostName = lib.mkDefault name;
system.primaryUser = lib.mkDefault spec.user;
}
]
++ lib.optional (spec.homeManager or true) (mkDarwinHomeManagerModule name spec selected)
++ lib.optional (darwinPath != null) darwinPath;