!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

You have reached the beginning of time (for this room).


SenderMessageTime
15 Apr 2025
@ststefa:matrix.orgststefa * Hey there! The nixos-infect works quite nicely, thanks again!
Now when I try to apply to the aarch64-linux node from my aarch64-darwin using colnema (using deployment.buildOnTarget), it will somehow not "activate the profile".
I don't quite get what that means :-/
I tried:
colmena apply --reboot --force-replace-unknown-profiles
I get:
failure) Unexpected active profile: Profile(StorePath("/nix/store/0pi9dwfl661k77k8zvacz1h7ikj2hlsi-nixos-system-arm-1-24.11.716947.26d499fc9f1d"))
Any ideas? Maybe this is a noob-trap?
If I run without "--reboot" then colmena will finish without errors, but none of my changes seems to get applied. 16:58:29
@dish1892:matrix.orgdish1892
In reply to @ststefa:matrix.org
Hey there! The nixos-infect works quite nicely, thanks again!
Now when I try to apply to the aarch64-linux node from my aarch64-darwin using colnema (using deployment.buildOnTarget), it will somehow not "activate the profile".
I don't quite get what that means :-/
I tried:
colmena apply --reboot --force-replace-unknown-profiles
I get:
failure) Unexpected active profile: Profile(StorePath("/nix/store/0pi9dwfl661k77k8zvacz1h7ikj2hlsi-nixos-system-arm-1-24.11.716947.26d499fc9f1d"))
Any ideas? Maybe this is a noob-trap?
If I run without "--force-replace-unknown-profiles" then it will reboot, but none of my changes seems to get applied.
Shouldn’t matter but try set the ”replace unknown profile” setting in the config instead
18:13:00
@dish1892:matrix.orgdish1892
In reply to @gmacon:matrix.org
I proposed adding a reboot subcommand to colmena to see what people think about the idea. If you have thoughts, please share them here or on the issue. Thanks!
If i understand it right you want to run pre-apply commands?
18:15:33
@dish1892:matrix.orgdish1892
In reply to @ststefa:matrix.org
Hey there! The nixos-infect works quite nicely, thanks again!
Now when I try to apply to the aarch64-linux node from my aarch64-darwin using colnema (using deployment.buildOnTarget), it will somehow not "activate the profile".
I don't quite get what that means :-/
I tried:
colmena apply --reboot --force-replace-unknown-profiles
I get:
failure) Unexpected active profile: Profile(StorePath("/nix/store/0pi9dwfl661k77k8zvacz1h7ikj2hlsi-nixos-system-arm-1-24.11.716947.26d499fc9f1d"))
Any ideas? Maybe this is a noob-trap?
If I run without "--force-replace-unknown-profiles" then it will reboot, but none of my changes seems to get applied.
*
18:17:26
@gmacon:matrix.orggmaconI don't think so... Did you have something specific in mind for a pre-apply command?18:17:43
@ststefa:matrix.orgststefaMy intention was just to configure the remote with some packages and settings.18:36:14
@ststefa:matrix.orgststefaIf I may, I could post my flake.nix18:36:29

Show newer messages


Back to Room ListRoom Version: 6