!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
26 Jan 2023
@zhaofeng:zhaofeng.liZhaofeng LiI kind of want to get a couple of PRs that I've neglected in for 0.4, but otherwise not much else is needed08:20:06
@hexa:lossy.networkhexausing colmena from master for the improved reboot flow alone13:17:30
@dminuoso:matrix.orgdminuosoreboot flow?13:27:29
@dminuoso:matrix.orgdminuosoWhat was changed?13:27:52
@dminuoso:matrix.orgdminuosoDo you mean that it no longer activates before reboot?13:30:01
@dminuoso:matrix.orgdminuosoOh well, I guess another reason is that my ssh target user name hasnt made it into 0.3.2 either. Mmm13:58:11
@hexa:lossy.networkhexa
In reply to @dminuoso:matrix.org
Do you mean that it no longer activates before reboot?
yes, and --reboot
15:10:43
29 Jan 2023
@aleksana:mozilla.orgFind me at aleksana:qaq.li joined the room.05:14:31
@0x4a6f:matrix.org[0x4A6F]
In reply to @phaer:matrix.org
Yes
Do you have an example invocation that you might share?
14:39:09
@phaer:matrix.orgphaer
In reply to @0x4a6f:matrix.org
Do you have an example invocation that you might share?
Not really in a public repo, i am afraid. But https://gist.github.com/phaer/0168da5d7ceae254d0cdd63c78119fe8 should contain the relevant code and might help?
Theres a flake defining my colmena nodes (and reading some options from a toml file for that) and a disk layout for a single encrypted zfs disk. There's also the shell script i use for nixos-remote. server type and secret handling might need adaption.
14:58:36
@phaer:matrix.orgphaerLet me know if there are any questions about it :)14:59:30
@redhood:torac.ioredhood joined the room.22:50:07
8 Feb 2023
@zachel:fairydust.space@zachel:fairydust.space joined the room.18:48:27
10 Feb 2023
@hexagony:mozilla.orghexagony joined the room.02:05:08
12 Feb 2023
@me:indeednotjames.comemily joined the room.15:06:06
@thomaslepoix:matrix.orgthomaslepoix joined the room.21:34:44
13 Feb 2023
@cw:kernelpanic.cafeChinchilla WashingtonWhy would my systems still be built as 22.11-pre when my nixpkgs is 22.11 release?13:44:22
@cw:kernelpanic.cafeChinchilla Washington

In flake inputs:

    nixpkgs = {
      url = "github:NixOS/nixpkgs/release-22.11";
    };

in colmena:

    colmena = {
      meta = {
        nixpkgs = import nixpkgs {
          system = "x86_64-linux";
          overlays = [];
        };
        specialArgs = inputs;
      };
      cherry = {
        imports = [
          ./hosts/cherry.nix
          home-manager.nixosModules.home-manager
          stylix.nixosModules.stylix
        ];
        deployment.targetHost = "192.168.1.19";
      };
13:45:27
@cw:kernelpanic.cafeChinchilla Washington

another odd thing, it seems to build stale versions of whatever my source is. For example:

  # Setup keyfile
  boot.initrd.secrets = {
    "/luks.bin" = "/luks.bin";
  };
  # Enable grub cryptodisk
  boot.loader.grub.enableCryptodisk=true;
  boot.initrd.luks.devices."luks-uuid-here".keyFile = "/luks.bin";

but it errors with:

[ERROR]   stderr) updating GRUB 2 menu...
[ERROR]   stderr) cp: cannot stat '/cryptokeyfile.bin': No such file or directory
[ERROR]   stderr) failed to create initrd secrets: No such file or directory
13:46:56
@cw:kernelpanic.cafeChinchilla Washington cryptokeyfile.bin was the last filename. If I update my source code, the error will switch to luks.bin and fail. 13:49:49
@cw:kernelpanic.cafeChinchilla Washingtonimage.png
Download image.png
13:50:05
@cw:kernelpanic.cafeChinchilla Washingtonimage.png
Download image.png
13:50:21
@cw:kernelpanic.cafeChinchilla Washingtonimage.png
Download image.png
13:50:35
@cw:kernelpanic.cafeChinchilla WashingtonI'm going absolutely mental13:50:37
@cw:kernelpanic.cafeChinchilla Washingtonbut if I just change the file to match... It goes to some older version.13:54:47
@cw:kernelpanic.cafeChinchilla Washingtonimage.png
Download image.png
13:55:04
@cw:kernelpanic.cafeChinchilla Washingtonimage.png
Download image.png
13:55:24
@cw:kernelpanic.cafeChinchilla Washington^ without the underscore is 3-4 revisions ago during my troubleshooting. So it's not just a delay.13:56:27
@cw:kernelpanic.cafeChinchilla Washingtonimage.png
Download image.png
13:57:15
@cw:kernelpanic.cafeChinchilla Washingtonimage.png
Download image.png
13:57:27

Show newer messages


Back to Room ListRoom Version: 6