| 2 Jun 2023 |
Zhaofeng Li | nodeNixpkgs.desktop has to be an initialized package set (see the error message), not a path | 17:00:00 |
Zhaofeng Li | It accepts the exact type as meta.nixpkgs | 17:00:18 |
Alexander | There is only example for hive.nix:
nodeNixpkgs = {
node-b = ./another-nixos-checkout;
};
I cannot find out where I should place a path to a nixpkgs when using flake
| 17:04:21 |
Zhaofeng Li | Just copy the nixpkgs pinning your have above | 17:05:27 |
Zhaofeng Li | But there is no need to pin separately when it's the only node | 17:05:37 |
Zhaofeng Li | * Just copy the nixpkgs pinning you have above | 17:05:45 |
Zhaofeng Li | In other words
nodeNixpkgs.desktop = import nixpkgs {
system = "x86_64-linux";
overlays = [];
};
| 17:06:16 |
Alexander | I have another nodes in my flake.nix and I want to upgrade some of them to 23.05 | 17:07:18 |
Alexander | Oh, I understand how it should be assembled (I don't have a lot of experience with a NixOS):
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/7076110064c09f0b3942f609f2134c1358ef2e50";
nixpkgs-23-05.url = "github:NixOS/nixpkgs/551a52bfdd02e7b75be5faf9b42f864112d88654";
};
outputs = { nixpkgs, nixpkgs-23-05, ... }: {
colmena = {
meta = {
nixpkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [];
};
};
meta.nodeNixpkgs.desktop = import nixpkgs-23-05 {
system = "x86_64-linux";
overlays = [];
};
desktop = import ./desktop.nix;
};
};
}
| 17:21:25 |
| 3 Jun 2023 |
| @rendakuenthusiast:imperishable.name left the room. | 08:09:06 |
| 5 Jun 2023 |
raitobezarius | is it possible to have the deployment options in a vanilla nixosConfigurations? | 16:11:46 |
raitobezarius | by passing the appropriate module | 16:12:15 |
raitobezarius | indeed, it is as a flake input | 16:16:06 |
raitobezarius | ah but when I do this, I get duplicate modules | 16:20:45 |
raitobezarius | success | 16:21:23 |
| 6 Jun 2023 |
dminuoso | Mmmm. Im deploying to a server, but instead of substituting from a cache it copies all store paths from my local machine. How can I figure out what's going on? | 10:54:46 |
emily | In reply to @dminuoso:matrix.org Mmmm. Im deploying to a server, but instead of substituting from a cache it copies all store paths from my local machine. How can I figure out what's going on? are you are using a flake based hive? maybe related: https://github.com/zhaofengli/colmena/pull/156 | 12:20:17 |
dminuoso | In reply to @me:indeednotjames.com are you are using a flake based hive? maybe related: https://github.com/zhaofengli/colmena/pull/156 Interesting. Yes I am.
ssh-ng is giving me nothing but trouble in fact.
| 12:44:31 |
dminuoso | But I think there was another bug, because --build-on-target still caused all paths to be copied from my local path. | 12:46:09 |
dminuoso | And that was, for whatever bizarre reasons, tied to my local machine having extra substituters configured. Once I got rid of those, --build-on-target at least subtituted from cache.nixos.org | 12:46:48 |
dminuoso | * But I think there was another bug, because --build-on-target still caused all paths to be copied from my local host. | 12:46:58 |
| 7 Jun 2023 |
| Pedro Lopes joined the room. | 23:06:46 |
| 11 Jun 2023 |
| Matthew joined the room. | 01:35:11 |
| 12 Jun 2023 |
dantefromhell | is there a way to show STDOUT and STDERR from a colmena exec run without going into --verbose mode which adds a whole lot more info? | 15:18:09 |
| isa joined the room. | 22:06:57 |
| 14 Jun 2023 |
raitobezarius | is there any way for colmena to use a specific ssh key? | 00:43:16 |
raitobezarius | I can cheat my way with .ssh/config | 00:46:30 |
Zhaofeng Li | In reply to @dantefromhell:matrix.org is there a way to show STDOUT and STDERR from a colmena exec run without going into --verbose mode which adds a whole lot more info? (oops, completely missed this) Sadly not at the moment, but maybe it's not hard to add (prepending some symbol to each line) | 00:48:49 |
Zhaofeng Li | In reply to @raitobezarius:matrix.org is there any way for colmena to use a specific ssh key? Also not, and ssh_config would be the way to go | 00:49:20 |
raitobezarius | I see | 00:49:42 |