| 9 Feb 2024 |
treed | Although if it's working with the path prefix, then that's probably also fine | 23:25:30 |
treed | * 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 | * 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 | Appears to use the name that you import it under in your outer flake inputs | 23:28:35 |
treed | yeah, the name should be as listed in the inputs so dockerSshTunnel in your case | 23:29:03 |
pgibson | Steep learning curve, but being able to define a server with containers running as a service in a hundred LoC is pretty awesome | 23:31:23 |
treed | Yeah, my homelab has like 25 VMs and it's all from just over 5k LoC | 23:35:43 |
treed | I've done cfengine, puppet, chef, saltstack, ansible. This is by far the smoothest experience, once you figure out what you're doing | 23:36:04 |
treed | I still have to use ansible for the hypervisors (proxmox) and I get agitated every time | 23:36:24 |
pgibson | Ansible is just so unreasonably slow | 23:36:47 |
pgibson | Drives me crazy | 23:36:55 |
treed | Execution slowness doesn't really bother me. Just writing the stuff is so slow | 23:37:13 |
treed | All the stuff spread out in multiple files for even the simplest of "deploy this binary, run it as a service" things | 23:37:35 |
treed | Plus the weird YAML-not-a-programming-language aspect | 23:38:27 |
| 10 Feb 2024 |
| @aktaboot:tchncs.de changed their profile picture. | 22:06:29 |
| 11 Feb 2024 |
| @ibtalot:matrix.org joined the room. | 19:53:12 |
| 16 Feb 2024 |
hexa | ok, so raitobezarius eta l | 13:50:23 |
hexa | * ok, so raitobezarius et al | 13:50:25 |
raitobezarius | (i read eta first) | 13:50:42 |
hexa | 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 | (and i was like what feature do i need to shit again) | 13:50:47 |
raitobezarius | In reply to @hexa:lossy.network do you remember this? yes | 13:50:57 |
hexa | I still have it | 13:51:02 |
hexa | when building on the same machine as another user … works | 13:51:20 |
hexa | so what state do I have to nuke>? | 13:51:33 |
hexa | * so what state do I have to nuke? | 13:51:35 |
raitobezarius | store verification first? | 13:51:51 |
hexa | wat | 13:52:00 |
hexa | the store is not corrupt | 13:52:08 |
raitobezarius | ok | 13:52:13 |