!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
22 Feb 2024
@raitobezarius:matrix.orgraitobezarius
In reply to @zhaofeng:zhaofeng.li
This, which is closer to ma27 's model
yeah so I agree with this
17:44:06
@raitobezarius:matrix.orgraitobezariusI like this one too17:44:14
@raitobezarius:matrix.orgraitobezariusbecause low level users can do much more with it17:44:19
@raitobezarius:matrix.orgraitobezariusso I gather that colmena upstream would be interested in this sort of features17:44:35
@raitobezarius:matrix.orgraitobezariusso it may make sense just to send PRs towards it (?)17:44:41
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @raitobezarius:matrix.org
OK, how do you see the definition for activation ?
I think a good start would be to just have the activation commands, but it could accept a script with a defined interface
17:46:32
@raitobezarius:matrix.orgraitobezariusyou mean17:46:48
@raitobezarius:matrix.orgraitobezarius registry.nixosSystems.activation.dry-activate = "switch-to-configuration dry-activate"; or something like that? 17:47:06
@zhaofeng:zhaofeng.liZhaofeng Li Yeah, something like that 17:47:22
@raitobezarius:matrix.orgraitobezariusthat makes sense to me17:47:38
23 Feb 2024
@janejasperous:one.ems.host@janejasperous:one.ems.host left the room.16:35:34
25 Feb 2024
@ftchrist:matrix.orgFrédéric Christ joined the room.10:21:20
@polygon:gaykitty.lolpolygon (she/it) - migrating to @polygon:catgirl.cloud ⚡️ changed their display name from polygon (she/it) ⚡️ to polygon (she/it) - migrating to @polygon:catgirl.cloud ⚡️.22:08:53
26 Feb 2024
@aflox:matrix.orgaflox joined the room.10:34:58
@aflox:matrix.orgaflox Hi everyone 👋
I'm browsing over the colmena documentation coming from nixops and have a question regarding pinning meta.nixpkgs to an initialized attribute set (I'm using flakes) and cross-architecture builds. I'm assuming that simply setting nixpkgs.system on the node is probably not sufficient as the <nixpkgs> set is already initialized, right? What would be the recommended way to handle this ? Have a nodeNixpkgs set for everything that's different from the local system ?
10:38:51
@dantefromhell:matrix.orgdantefromhell
In reply to @aflox:matrix.org
Hi everyone 👋
I'm browsing over the colmena documentation coming from nixops and have a question regarding pinning meta.nixpkgs to an initialized attribute set (I'm using flakes) and cross-architecture builds. I'm assuming that simply setting nixpkgs.system on the node is probably not sufficient as the <nixpkgs> set is already initialized, right? What would be the recommended way to handle this ? Have a nodeNixpkgs set for everything that's different from the local system ?

I'm cross-compiling aarch64 (for a raspberry) on x86-64. it require binfmt to be setup correctly.

other than that i'm setting nixkpgs.system = "aarch64-linux"; in the host declaration, I dont use nodeNixpkgs.
it builds with colmena build

14:13:24
@michaelpj:matrix.orgMichael Peyton Jones changed their display name from michaelpj to Michael Peyton Jones.16:22:02
29 Feb 2024
@wimpress:matrix.orgWimpy joined the room.21:11:05
2 Mar 2024
@ktemkin:katesiria.orgKate Temkin joined the room.08:01:19
@qyriad:katesiria.orgQyriad joined the room.08:09:30
@ktemkin:katesiria.orgKate Temkin changed their display name from ktemkin to Kate Temkin.18:07:13
@dmoonfire:matrix.orgdmoonfire

Anyone ever get stylix working with colmena? I'm having a little trouble with it and getting stuck at:

       error: attribute 'system' missing

       at /nix/store/d9m7m0f528qp4dq5j00gylnas0fb755y-source/flake.nix:93:38:

           92|           (import ./stylix/nixos inputs {
           93|             inherit (self.packages.${pkgs.system}) palette-generator;
             |                                      ^
           94|             base16 = base16.lib args;
       Did you mean one of mystem, systemc, systemd, syntex or systemfd?
22:24:38
@dmoonfire:matrix.orgdmoonfire changed their profile picture.22:25:32
3 Mar 2024
@hexa:lossy.networkhexahah 😄 11:28:40
@hexa:lossy.networkhexaI know that one11:28:41
@hexa:lossy.networkhexa dmoonfire: do you have allowAliases disabled? 11:28:53
@hexa:lossy.networkhexa e.g. in ~/.config.nixpkgs.config.nix 11:29:14
@dmoonfire:matrix.orgdmoonfireI have never heard of that file before. I'll do a `rg` to see.17:57:51
@dmoonfire:matrix.orgdmoonfire Apparently, I had it in one of my checked-in files for the flake. nixpkgs.config.allowAliases = false; 20:08:30
@dmoonfire:matrix.orgdmoonfire hexa: That was it, thank you! 💙 20:25:33

There are no newer messages yet.


Back to Room ListRoom Version: 6