!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

324 Members
A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena110 Servers

Load older messages


SenderMessageTime
16 Apr 2023
@me:indeednotjames.comemily
In reply to @aleksana:mozilla.org
Whether I put specialArgs in colmena or nixosSystem, as long as I don't put in both at the same time, it will lead to infinite recursion
can't reproduce what you are saying.
what commands are you using?
20:55:56
@aleksana:mozilla.orgFind me at aleksana:qaq.li
In reply to @me:indeednotjames.com
can't reproduce what you are saying.
what commands are you using?
colmena build --show-trace
20:56:30
@me:indeednotjames.comemily
In reply to @aleksana:mozilla.org
colmena build --show-trace
can you share your config again?
20:57:42
@aleksana:mozilla.orgFind me at aleksana:qaq.li
In reply to @me:indeednotjames.com
can you share your config again?
https://paste.aleksana.moe/pubarmaine.nix
20:58:26
@aleksana:mozilla.orgFind me at aleksana:qaq.liThis is the second situation, where specialArgs is moved into nixosSystem20:58:47
@aleksana:mozilla.orgFind me at aleksana:qaq.li This produces infinite recursion … while evaluating the module argument inputs' in ":anon-1420:anon-1:anon-2":` 20:59:27
@aleksana:mozilla.orgFind me at aleksana:qaq.lihttps://paste.aleksana.moe/ckliblefec.nix21:00:33
@aleksana:mozilla.orgFind me at aleksana:qaq.liThis is the third that has both specialArgs included, and it successfully builds21:00:53
@me:indeednotjames.comemily
In reply to @aleksana:mozilla.org
This is the third that has both specialArgs included, and it successfully builds
why don't you use that version then? :)
21:08:34
@aleksana:mozilla.orgFind me at aleksana:qaq.li
In reply to @me:indeednotjames.com
why don't you use that version then? :)
Because this is just a simple demo of my config
21:09:09
@aleksana:mozilla.orgFind me at aleksana:qaq.liThen I can get all the things done and go to sleep21:09:33
@me:indeednotjames.comemilyI am afraid I don't quite understand. Do you still need help?21:11:16
@aleksana:mozilla.orgFind me at aleksana:qaq.li
In reply to @me:indeednotjames.com
I am afraid I don't quite understand. Do you still need help?
Yes
21:11:23
@aleksana:mozilla.orgFind me at aleksana:qaq.liIf you still have time you can take a look at this21:11:52
@aleksana:mozilla.orgFind me at aleksana:qaq.lihttps://github.com/Aleksanaa/flakes21:11:53
@aleksana:mozilla.orgFind me at aleksana:qaq.li There's flake/colmena.nix and it's not correct 21:12:14
@aleksana:mozilla.orgFind me at aleksana:qaq.liI would make it use my node configs in flake/node.nix21:12:58
@aleksana:mozilla.orgFind me at aleksana:qaq.liNow I'm trying to provide the same specialArgs for the both, but it doesn't end there. flake-parts provides easy overlay definitions (in flake/nixpkgs.nix) and can be called with (getSystem system).allModuleArgs.final21:15:35
@aleksana:mozilla.orgFind me at aleksana:qaq.liSo the real case is rather complicated. I'm just saying that the adapter is far from enough to correctly translate the official nixosSystem to colmena/hive type of configurations21:16:37
@me:indeednotjames.comemilyoh wow, yeah no. that's way over my head 😅21:23:52
@aleksana:mozilla.orgFind me at aleksana:qaq.liSo, a better adapter 21:24:13
@aleksana:mozilla.orgFind me at aleksana:qaq.licolmena = someMagicFunctions config.nixosConfigurations21:24:32
@aleksana:mozilla.orgFind me at aleksana:qaq.li🤣21:24:41
@aleksana:mozilla.orgFind me at aleksana:qaq.liAlthough I don't think it's possible for me21:24:54
@aleksana:mozilla.orgFind me at aleksana:qaq.liMaybe the desire to sleep is too strong. I found a better way of writing when I just flipped through the document, and now it works normally!21:39:23
@aleksana:mozilla.orgFind me at aleksana:qaq.lihttps://github.com/zhaofengli/colmena/issues/60#issuecomment-151049686121:46:12
@errisnotnil:matrix.orgYuddite G changed their profile picture.23:09:31
18 Apr 2023
@pinpox:matrix.orgpinpox changed their display name from pinpox to !bing.06:02:48
@pinpox:matrix.orgpinpox changed their display name from !bing to pinpox.06:03:30
@dantefromhell:matrix.orgdantefromhell

How can I troubleshooting connection issue during the Waiting for reboot phase when applying changes with colmena apply switch --verbose --reboot?

the machine in question (raspberry pi) has successfully rebooted - I can SSH into it.

08:10:10

Show newer messages


Back to Room ListRoom Version: 6