!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
22 Feb 2024
@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.hostJane Jasperous 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.org@wimpress:matrix.org joined the room.21:11:05
2 Mar 2024
@ktemkin:katesiria.org@ktemkin:katesiria.org joined the room.08:01:19
@qyriad:katesiria.orgQyriad joined the room.08:09:30
@ktemkin:katesiria.org@ktemkin:katesiria.org 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
6 Mar 2024
@sammy:cherrykitten.dev@sammy:cherrykitten.dev joined the room.19:05:26
7 Mar 2024
@dretrange:matrix.orgDrEtrange joined the room.14:09:36
10 Mar 2024
@bonus:bonusplay.plBonus joined the room.12:48:17
13 Mar 2024
@ktemkin:katesiria.org@ktemkin:katesiria.org changed their display name from Kate Temkin to [K]ate Temkin.02:56:13
14 Mar 2024
@federicodschonborn:matrix.org@federicodschonborn:matrix.org left the room.02:04:46

Show newer messages


Back to Room ListRoom Version: 6