!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
29 Nov 2022
@ask-yourself:matrix.org@ask-yourself:matrix.org
In reply to @NobbZ:matrix.org

Please use list-units to also see inactive ones, then check its status.

From the module I can't see wether its meant to be oneshot or whtever else, though it has a Restart of "no", which is weird in my opinion…

Ok, here is the output:
17:21:59
@ask-yourself:matrix.org@ask-yourself:matrix.orgDownload list.txt17:22:07
@ask-yourself:matrix.org@ask-yourself:matrix.org
In reply to @NobbZ:matrix.org
Also I can't find a way to build the system closure directly using nix build :(
Yeah, I do everything with Colmena cause it lets me work on my local and remote systems in the same way. But it's proving to make it difficult for others to help.
17:23:01
@NobbZ:matrix.org@NobbZ:matrix.orgLooking at that list, I would say you called your keyboard "options"17:23:36
@NobbZ:matrix.org@NobbZ:matrix.org

Please check the status of kmonad-options.service (it is running)

And if you have currently changes that are not yet active, please restart the service and tell us if then the changes get applied.

17:25:27
@NobbZ:matrix.org@NobbZ:matrix.org(I will actually start playing with KMonad on my systems soonish, as it might solve some problems I currently have even with my Moonlander, as there are simply things that are not perfect still, and it behaves differently between Mac and Linux)17:26:46
@ask-yourself:matrix.org@ask-yourself:matrix.org
In reply to @NobbZ:matrix.org
(I will actually start playing with KMonad on my systems soonish, as it might solve some problems I currently have even with my Moonlander, as there are simply things that are not perfect still, and it behaves differently between Mac and Linux)
This is good to hear.
17:27:30
@ask-yourself:matrix.org@ask-yourself:matrix.org
In reply to @NobbZ:matrix.org

Please check the status of kmonad-options.service (it is running)

And if you have currently changes that are not yet active, please restart the service and tell us if then the changes get applied.

Yes, if I make some changes and they don't take effect, restarting that service makes them take effect.
17:30:03
@ask-yourself:matrix.org@ask-yourself:matrix.orgInteresting.17:30:11
@ask-yourself:matrix.org@ask-yourself:matrix.orgI still think there is something weird about the behaviour I'm getting, it seems like something is wrong. But this does give me a good way to work on it w/o having to restart constantly.17:33:00
@NobbZ:matrix.org@NobbZ:matrix.org So either the nixos activation or colmena do something weird. Usually changed services should be restarted. Therefore I'd like to know if it would work reliably using nixos-rebuild switch or test 17:55:43
@ask-yourself:matrix.org@ask-yourself:matrix.orgYeah, if this keeps being a problem I'm gonna find a way to add a normal build to my config for debugging purposes.17:56:46
@ask-yourself:matrix.org@ask-yourself:matrix.orgI'd be curisou to get to the bottom of this.17:56:58
@ask-yourself:matrix.org@ask-yourself:matrix.org * I'd be curious to get to the bottom of this.17:57:08
@NobbZ:matrix.org@NobbZ:matrix.org Okay, colmena built from master has a --nix-option, so I am building right now. 18:08:19
@ask-yourself:matrix.org@ask-yourself:matrix.orgDid it reveal anything interesting or nah?19:14:49
@NobbZ:matrix.org@NobbZ:matrix.orgNope. From there everything looks as I would expect it19:15:47
@ask-yourself:matrix.org@ask-yourself:matrix.orgHm, ok. If you ever find out in the course of your own exploration of KMonad feel free to tag me. I'd be curious.19:27:17
@yuu:matrix.orgYuu Yin changed their display name from yuu to yuu✨✨.23:03:49
@raitobezarius:matrix.orgraitobezariusdo colmena allow to copy the nix exprs on the target so I can still run local deployment there?23:14:05
@raitobezarius:matrix.orgraitobezarius(some sort of "local deployments" by default setup)23:14:13
1 Dec 2022
@ask-yourself:matrix.org@ask-yourself:matrix.org How can I apply all my systems at once if I have to sudo colmena apply-local for local system and colmena apply --on x for remote systems? If I just run colmena apply then the local system will fail cause no sudo. I could tag the nodes and build everything but the local system, but that seems inferior to building all at once. Anybody know how to resolve this? 00:59:54
@linus:schreibt.jetzt@linus:schreibt.jetztI deploy my laptop via SSH too01:00:21
@ask-yourself:matrix.org@ask-yourself:matrix.orgYeahhh.. I really want to know how to do it all in one step. Would make life easier.01:39:01
@linus:schreibt.jetzt@linus:schreibt.jetztYeah I do it all in one step08:20:50
@linus:schreibt.jetzt@linus:schreibt.jetztBy deploying my laptop via SH08:20:55
@linus:schreibt.jetzt@linus:schreibt.jetzt* By deploying my laptop via SSH08:21:06
@linus:schreibt.jetzt@linus:schreibt.jetztSo `colmena apply` will build all the configs and deploy them via SSH, even to the laptop it's running on08:21:37
@linus:schreibt.jetzt@linus:schreibt.jetzt(And it SSHes in as root)08:22:33
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @raitobezarius:matrix.org
do colmena allow to copy the nix exprs on the target so I can still run local deployment there?

Copying expressions themselves can be a bit tricky to do cleanly. As an alternative, Colmena can deploy directly from a remote Flake URI like github:.

(This is tracked in https://github.com/zhaofengli/colmena/issues/33)

08:47:42

Show newer messages


Back to Room ListRoom Version: 6