| 2 Jan 2022 |
@grahamc:nixos.org | I kind of wish it waited until everything was ready before activating anything, but that is a nit really | 02:24:10 |
@grahamc:nixos.org | welp, I just migrated over from nixops | 02:41:40 |
| hexa joined the room. | 03:18:38 |
| kraem joined the room. | 05:13:02 |
| [0x4A6F] joined the room. | 09:33:21 |
@github:maunium.net | [zhaofengli/colmena] zhaofengli pushed
3 commits
to
main: -
f9fab830
deployment: Remove useless Arc clones
-
1adb0b42
.github: Rename workflows for clarity
-
7b055580
Advertise Matrix channel
| 21:16:33 |
@github:maunium.net | [zhaofengli/colmena] zhaofengli pushed
1 commit
to
release-0.2.x: | 21:18:56 |
@github:maunium.net | [zhaofengli/colmena] github-actions[bot] pushed
1 commit
to
gh-pages: -
7d6f66f0
Deploying to gh-pages from @ zhaofengli/colmena@b701b72e6a3c2c2fd078561fâŚ
by zhaofengli
| 21:23:27 |
@github:maunium.net | [zhaofengli/colmena] github-actions[bot] pushed
1 commit
to
gh-pages: -
ac475ba7
Deploying to gh-pages from @ zhaofengli/colmena@7b05558008fd75cb19b1be32âŚ
by zhaofengli
| 21:23:53 |
Zhaofeng Li | Hmm, this is kind of noisy. Let me disable the commit notifications for now. | 21:25:36 |
| 3 Jan 2022 |
hexa | very odd, I'd expect it to know there would be many url previews | 00:52:31 |
| angerman joined the room. | 06:49:24 |
angerman | is there an example for macOS deployments somewhere? | 07:06:05 |
Zhaofeng Li | In reply to @angerman:matrix.org is there an example for macOS deployments somewhere? It should work if you either pass a nixpkgs initialized with { system = "x86_64-linux"; } or set nixpkgs.system = "x86_64-linux"; in the node config. | 07:13:07 |
Zhaofeng Li | Something like:
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { nixpkgs, ... }: {
colmena = {
meta = {
nixpkgs = import nixpkgs {
system = "x86_64-linux";
};
};
defaults = {
deployment.buildOnTarget = true;
};
node-a = {
deployment.targetHost = "xxx";
# rest of config
};
};
};
}
| 07:14:10 |
angerman | Zhaofeng Li: hmm. I'm planing to provision an aarch64-darwin machine from a x86_64-darwin machine. | 07:14:46 |
angerman | Yea, I'm holding it wrong ;-) | 07:14:57 |
angerman | so I should initialize the nixpkgs with the controller system? | 07:15:16 |
Zhaofeng Li | Hmm, there isn't support for nix-darwin at the moment, only NixOS | 07:15:20 |
Zhaofeng Li | In reply to @angerman:matrix.org so I should initialize the nixpkgs with the controller system? controller system? | 07:15:39 |
angerman | Ohh... đĽ | 07:15:46 |
angerman | controller/deployer (whatever we call the machine from which we deploy). | 07:16:11 |
Zhaofeng Li | You should initialize with the target system (x86_64-linux, aarch64-linux, etc). | 07:17:12 |
Zhaofeng Li | Currently you can use the remote build feature to deploy from macOS to NixOS, but not to macOS. It should be fairly easy to add, however, since the semantics are similar | 07:18:37 |
Zhaofeng Li | * Currently you can use the remote build feature to deploy from macOS to NixOS, but not to macOS. It should be fairly easy to add, however, since the semantics are similar (with nix-darwin) | 07:19:07 |
angerman | Hmm. Yea, I've got a variety of {x86_64,aarch64}-{linux,macos} systems in my deployment. macos for now requires ssh'ing into the machine, updagint the nix configuration and running darwin rebuild. | 07:24:37 |
| 4 Jan 2022 |
| aanderse joined the room. | 22:16:50 |
| * aanderse waves đ | 22:18:54 |
| Buckley joined the room. | 22:21:48 |
Buckley | đ | 23:42:50 |