!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
9 Feb 2024
@treed:zenithia.nettreedAlthough if it's working with the path prefix, then that's probably also fine23:25:30
@treed:zenithia.nettreed * And I have no experience with local flakes, other than knowing that . is a reference to the local directory's flake. So maybe just ./docker-ssh-tunnel 23:28:22
@treed:zenithia.nettreed * And I have no experience with local flakes, other than knowing that . is a reference to the current directory's flake. So maybe just ./docker-ssh-tunnel 23:28:30
@pgibson:matrix.orgpgibsonAppears to use the name that you import it under in your outer flake inputs23:28:35
@treed:zenithia.nettreed yeah, the name should be as listed in the inputs so dockerSshTunnel in your case 23:29:03
@pgibson:matrix.orgpgibsonSteep learning curve, but being able to define a server with containers running as a service in a hundred LoC is pretty awesome23:31:23
@treed:zenithia.nettreedYeah, my homelab has like 25 VMs and it's all from just over 5k LoC23:35:43
@treed:zenithia.nettreedI've done cfengine, puppet, chef, saltstack, ansible. This is by far the smoothest experience, once you figure out what you're doing23:36:04
@treed:zenithia.nettreedI still have to use ansible for the hypervisors (proxmox) and I get agitated every time23:36:24
@pgibson:matrix.orgpgibsonAnsible is just so unreasonably slow23:36:47
@pgibson:matrix.orgpgibsonDrives me crazy23:36:55
@treed:zenithia.nettreedExecution slowness doesn't really bother me. Just writing the stuff is so slow23:37:13
@treed:zenithia.nettreedAll the stuff spread out in multiple files for even the simplest of "deploy this binary, run it as a service" things23:37:35
@treed:zenithia.nettreedPlus the weird YAML-not-a-programming-language aspect23:38:27
10 Feb 2024
@aktaboot:tchncs.de@aktaboot:tchncs.de changed their profile picture.22:06:29
11 Feb 2024
@ibtalot:matrix.org@ibtalot:matrix.org joined the room.19:53:12
16 Feb 2024
@hexa:lossy.networkhexa ok, so raitobezarius eta l 13:50:23
@hexa:lossy.networkhexa * ok, so raitobezarius et al 13:50:25
@raitobezarius:matrix.orgraitobezarius(i read eta first)13:50:42
@hexa:lossy.networkhexa
In reply to @hexa:lossy.network
❯ colmena build -v --show-trace
[INFO ] Using configuration: /home/hexa/git/chaos/infra-nix/hive.nix
[INFO ] Enumerating nodes...
error:
       … while evaluating attribute 'archive.darmstadt.ccc.de'

         at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/lib/attrsets.nix:560:14:

          559|     value:
          560|     { inherit name value; };
             |              ^
          561|

       … while calling anonymous lambda

         at /run/user/1000/colmena-assets-LXWf6W/eval.nix:188:39:

          187|   toplevel =         lib.mapAttrs (_: v: v.config.system.build.toplevel) nodes;
          188|   deploymentConfig = lib.mapAttrs (_: v: v.config.deployment)            nodes;
             |                                       ^
          189|   deploymentConfigSelected = names: lib.filterAttrs (name: _: elem name names) deploymentConfig;

       … while calling 'g'

         at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/lib/attrsets.nix:701:19:

          700|           g =
          701|             name: value:
             |                   ^
          702|             if isAttrs value && cond value

       … from call site

         at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/lib/attrsets.nix:704:20:

          703|               then recurse (path ++ [name]) value
          704|               else f (path ++ [name]) value;
             |                    ^
          705|         in mapAttrs g;

       … while calling anonymous lambda

         at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/lib/modules.nix:242:72:

          241|           # For definitions that have an associated option
          242|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |                                                                        ^
          243|

       … while evaluating the option `_module.freeformType':

       … while calling anonymous lambda

         at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/lib/modules.nix:538:19:

          537|     mergeModules' prefix modules
          538|       (concatMap (m: map (config: { file = m._file; inherit config; }) (pushDownProperties m.config)) modules);
             |                   ^
          539|

       … from call site

         at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/lib/modules.nix:538:73:

          537|     mergeModules' prefix modules
          538|       (concatMap (m: map (config: { file = m._file; inherit config; }) (pushDownProperties m.config)) modules);
             |                                                                         ^
          539|

       … while calling 'pushDownProperties'

         at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/lib/modules.nix:874:24:

          873|   */
          874|   pushDownProperties = cfg:
             |                        ^
          875|     if cfg._type or "" == "merge" then

       … from call site

         at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/nixos/lib/eval-config.nix:50:8:

           49|     config = lib.mkMerge (
           50|       (optional (system != null) {
             |        ^
           51|         # Explicit `nixpkgs.system` or `nixpkgs.localSystem` should override

       … while calling 'optional'

         at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/lib/lists.nix:359:20:

          358|   */
          359|   optional = cond: elem: if cond then [elem] else [];
             |                    ^
          360|

       error: attribute 'system' missing

       at /run/user/1000/colmena-assets-LXWf6W/eval.nix:143:18:

          142|     };
          143|   in evalConfig {
             |                  ^
          144|     inherit (npkgs) system;
       Did you mean one of mystem, systemc, systemd, syntex or systemfd?
[ERROR] -----
[ERROR] Operation failed with error: Child process exited with error code: 1
Hint: Backtrace available - Use `RUST_BACKTRACE=1` environment variable to display a backtrace
do you remember this?
13:50:45
@raitobezarius:matrix.orgraitobezarius(and i was like what feature do i need to shit again)13:50:47
@raitobezarius:matrix.orgraitobezarius
In reply to @hexa:lossy.network
do you remember this?
yes
13:50:57
@hexa:lossy.networkhexaI still have it13:51:02
@hexa:lossy.networkhexawhen building on the same machine as another user … works13:51:20
@hexa:lossy.networkhexaso what state do I have to nuke>?13:51:33
@hexa:lossy.networkhexa * so what state do I have to nuke?13:51:35
@raitobezarius:matrix.orgraitobezariusstore verification first?13:51:51
@hexa:lossy.networkhexawat13:52:00
@hexa:lossy.networkhexathe store is not corrupt13:52:08
@raitobezarius:matrix.orgraitobezariusok13:52:13

Show newer messages


Back to Room ListRoom Version: 6