| 25 Nov 2023 |
| @10leej:matrix.org joined the room. | 15:56:32 |
| 30 Nov 2023 |
| @v:meowy.tech left the room. | 22:47:06 |
| 1 Dec 2023 |
| mihtig joined the room. | 09:40:53 |
mihtig | Hi all. Anyone here used nixos-infect on a host and colmena to deploy their nix config? | 09:41:34 |
mihtig | currently I get a "nix-daemon: command not found" error which seems to stem from the ssh command failing to find nix-daemon, but it's hard to track it down and I've verified that nix profile (nix.sh in ~/.nix-profile) is specified in the various .profile/.bashrc combinations | 09:42:29 |
mihtig | in fact when I ssh <host> "nix-daemon --help" I get the same error - presumably this isn't colmena's fault... | 09:45:06 |
Zhaofeng Li | Yeah, on non-NixOS hosts the Nix binaries aren't in the PATH set up by sshd/pam. It's a long-standing issue: https://github.com/NixOS/nix/issues/1078 | 17:42:10 |
Chinchilla Optional | I'm getting Failed to upload keys: I/O Error: No such file or directory (os error 2) when I try to upload keys. The key block is:
deployment = {
keys."myservice.secret" = {
keyFile = /full/path/to/secrets/myservice.secret;
uploadAt = "pre-activation";
};
};
Am I doing something obviously stupid? File is in the ./secrets dir by the flake, and owned by the same user
| 22:21:06 |
Chinchilla Optional | Redacted or Malformed Event | 22:21:20 |
Chinchilla Optional | Redacted or Malformed Event | 22:21:41 |
Chinchilla Optional | okay so remote system has that file uploaded to /run/keys/myservice.secret but with no contents in the file | 22:22:39 |
Chinchilla Optional | odd | 22:22:53 |
mihtig | In reply to @zhaofeng:zhaofeng.li Yeah, on non-NixOS hosts the Nix binaries aren't in the PATH set up by sshd/pam. It's a long-standing issue: https://github.com/NixOS/nix/issues/1078 Thank you I wasn’t aware. | 22:53:37 |
| 2 Dec 2023 |
Chinchilla Optional | and... it works now for some reason. Didn't change anything. Great. | 00:31:18 |
| @srid:matrix.org joined the room. | 16:03:02 |
| NixOS Moderation Bot banned @srid:matrix.org (<no reason supplied>). | 16:03:03 |
| @sivertism:matrix.org joined the room. | 16:54:22 |