!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
2 Jun 2023
@zhaofeng:zhaofeng.liZhaofeng Li

In other words

        nodeNixpkgs.desktop = import nixpkgs {
          system = "x86_64-linux";
          overlays = [];
        };
17:06:16
@alpha-centauri:matrix.orgAlexander I have another nodes in my flake.nix and I want to upgrade some of them to 23.05 17:07:18
@alpha-centauri:matrix.orgAlexander

Oh, I understand how it should be assembled (I don't have a lot of experience with a NixOS):

{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/7076110064c09f0b3942f609f2134c1358ef2e50";
    nixpkgs-23-05.url = "github:NixOS/nixpkgs/551a52bfdd02e7b75be5faf9b42f864112d88654";
  };

  outputs = { nixpkgs, nixpkgs-23-05, ... }: {
    colmena = {
      meta = {
        nixpkgs = import nixpkgs {
          system = "x86_64-linux";
          overlays = [];
        };

      };

      meta.nodeNixpkgs.desktop = import nixpkgs-23-05 {
        system = "x86_64-linux";
        overlays = [];
      };

      desktop = import ./desktop.nix;
    };
  };
}
17:21:25
3 Jun 2023
@rendakuenthusiast:imperishable.namerendakuenthusiast left the room.08:09:06
5 Jun 2023
@raitobezarius:matrix.orgraitobezarius is it possible to have the deployment options in a vanilla nixosConfigurations? 16:11:46
@raitobezarius:matrix.orgraitobezariusby passing the appropriate module16:12:15
@raitobezarius:matrix.orgraitobezariusindeed, it is as a flake input16:16:06
@raitobezarius:matrix.orgraitobezariusah but when I do this, I get duplicate modules16:20:45
@raitobezarius:matrix.orgraitobezariussuccess16:21:23
6 Jun 2023
@dminuoso:matrix.orgdminuosoMmmm. Im deploying to a server, but instead of substituting from a cache it copies all store paths from my local machine. How can I figure out what's going on?10:54:46
@me:indeednotjames.comemily
In reply to @dminuoso:matrix.org
Mmmm. Im deploying to a server, but instead of substituting from a cache it copies all store paths from my local machine. How can I figure out what's going on?
are you are using a flake based hive?
maybe related: https://github.com/zhaofengli/colmena/pull/156
12:20:17
@dminuoso:matrix.orgdminuoso
In reply to @me:indeednotjames.com
are you are using a flake based hive?
maybe related: https://github.com/zhaofengli/colmena/pull/156

Interesting. Yes I am.

ssh-ng is giving me nothing but trouble in fact.

12:44:31
@dminuoso:matrix.orgdminuosoBut I think there was another bug, because --build-on-target still caused all paths to be copied from my local path.12:46:09
@dminuoso:matrix.orgdminuoso And that was, for whatever bizarre reasons, tied to my local machine having extra substituters configured. Once I got rid of those, --build-on-target at least subtituted from cache.nixos.org 12:46:48
@dminuoso:matrix.orgdminuoso * But I think there was another bug, because --build-on-target still caused all paths to be copied from my local host.12:46:58
7 Jun 2023
@pedroallenrevez:matrix.orgPedro Lopes joined the room.23:06:46
11 Jun 2023
@matthewp:matrix.orgMatthew joined the room.01:35:11
12 Jun 2023
@dantefromhell:matrix.orgdantefromhell is there a way to show STDOUT and STDERR from a colmena exec run without going into --verbose mode which adds a whole lot more info? 15:18:09
@isa:flauschekatze.spaceisa joined the room.22:06:57
14 Jun 2023
@raitobezarius:matrix.orgraitobezariusis there any way for colmena to use a specific ssh key?00:43:16
@raitobezarius:matrix.orgraitobezariusI can cheat my way with .ssh/config00:46:30
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @dantefromhell:matrix.org
is there a way to show STDOUT and STDERR from a colmena exec run without going into --verbose mode which adds a whole lot more info?
(oops, completely missed this) Sadly not at the moment, but maybe it's not hard to add (prepending some symbol to each line)
00:48:49
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @raitobezarius:matrix.org
is there any way for colmena to use a specific ssh key?
Also not, and ssh_config would be the way to go
00:49:20
@raitobezarius:matrix.orgraitobezariusI see00:49:42
@dantefromhell:matrix.orgdantefromhell
In reply to @zhaofeng:zhaofeng.li
(oops, completely missed this) Sadly not at the moment, but maybe it's not hard to add (prepending some symbol to each line)

I started to use it a bit and realized my ideal UI would be a mix of exec and exec --verbose.

are GH issues a good way for proposing/ discussing?

01:18:18
@raphi:tapesoftware.netraphi
In reply to @raitobezarius:matrix.org
I see
You can set the env var SSH_CONFIG_FILE to override the config file location
06:57:43
@raphi:tapesoftware.netraphi changed their display name from raphi (element unread channel fix when) to raphi.07:03:15
18 Jun 2023
@madonius:entropia.de/madonius[er|he] changed their display name from /madonius [er|him] to madonius [PL].11:55:16
@madonius:entropia.de/madonius[er|he] changed their display name from madonius [PL] to /madonius[er|he].15:29:33
@neverbehave:matrix.orgneverbehave joined the room.22:39:10

Show newer messages


Back to Room ListRoom Version: 6