feat: +darwin config for yukkop
runner nix smoke / nix label smoke (push) Has been cancelled

This commit is contained in:
2026-07-19 20:03:18 +04:00
parent ef7d1b29f4
commit 80cf1588bb
4 changed files with 112 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
{
flake,
self,
inputs,
system ? "aarch64-darwin",
...
}: let
name = builtins.baseNameOf ./.;
in inputs.nix-darwin.lib.darwinSystem {
inherit system;
specialArgs = { inherit flake self inputs; };
modules = [
inputs.home-manager.darwinModules.home-manager
{
networking.hostName = name;
nixpkgs.hostPlatform = system;
nixpkgs.overlays = [ self.overlays.default ];
}
./${name}.nix
];
}