!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

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


SenderMessageTime
12 Mar 2025
@gmacon:matrix.orggmacon You have to specify a nixpkgs meta attribute that matches. Try passing just import nixpkgs instead of calling it. 20:30:38
@wantguns:matrix.orgwantguns i didnt get you, how do pass import nixpkgs as a meta attribute ? 20:58:23
@wantguns:matrix.orgwantguns i didnt get you, how do i pass import nixpkgs as a meta attribute ? 20:58:29
13 Mar 2025
@gmacon:matrix.orggmacon

In your flake.nix on line 43 you have

nixpkgs = import nixpkgs { system = "x86_64-linux"; };

I'm suggesting you instead write

nixpkgs = import nixpkgs;
12:44:23
14 Mar 2025
@wantguns:matrix.orgwantguns okay, i tried that but it still gave me the same error, i have now moved on to using deploy-rs, and deploy based on activations:
# ...
      deploy = {
        nodes = builtins.mapAttrs (name: hostConfig:
          let 
            isDarwin = hostConfig.platform == "darwin";
            activationPath = if isDarwin 
              then deploy-rs.lib.${hostConfig.system}.activate.darwin self.darwinConfigurations.${name}
              else deploy-rs.lib.${hostConfig.system}.activate.nixos self.nixosConfigurations.${name};
          in {
            hostname = hostConfig.hostname;
            profiles.system = {
              user = if isDarwin then hostConfig.username else "root";
              path = activationPath;
            };
          }
        ) hosts;
      };
# ...
10:14:42
21 Mar 2025
@marcusramberg:matrix.orgMarcus joined the room.20:18:47
22 Mar 2025
@yorickvp:matrix.orgyorickvp joined the room.14:19:06
24 Mar 2025
@eisfunke:eisfunke.comNicolas changed their display name from Nicolas Lenz to Nicolas.13:41:04
@slay326:matrix.orgslay326 joined the room.15:50:56
@slay326:matrix.orgslay326Hello, i dont understand why i cant use colmena on a fresh provisioned system. [ERROR] stderr) error: path '/nix/store/h3filckhc20z273bh1s91mcy6y534ds3-linux-6.12.19-modules-shrunk/lib' is not in the Nix store I use the unstable channel but i read somewhere that colmena is not compatible with this version, but how does the other two work?15:53:23
@craige:mcwhirter.iokrejgo It looks like you need to repair your Nix store @slay326:matrix.org: ? 21:14:41
25 Mar 2025
@aleksana:mozilla.orgFind me at aleksana:qaq.li changed their display name from aleksana (force me to bed after 18:00 UTC) to aleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC).17:00:04
26 Mar 2025
@slay326:matrix.orgslay326idk i just disabled the build on target and then it worked xd08:40:22

Show newer messages


Back to Room ListRoom Version: 6