!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

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


SenderMessageTime
26 Jan 2022
@zhaofeng:zhaofeng.liZhaofeng LiAdmittedly I ran into the problem a couple of weeks ago in my setup when I rebased against master, but there were comments about it blocking the channel so I disabled it locally without looking closer. Then I kind of forgot about it 🙁02:24:54
@linus.heckemann:matrix.mayflower.deLinux Hackerman
In reply to @linus.heckemann:matrix.mayflower.de
maybe specialArgs doesn't have that problem though? I'll give it a try
same problem :/
07:39:34
@zhaofeng:zhaofeng.liZhaofeng Li What does your imports looks like? 07:50:22
@zhaofeng:zhaofeng.liZhaofeng Li * What does your imports look like? 07:50:33
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @linus.heckemann:matrix.mayflower.de
I tried the latter, it resulted in infinite recursion in combination with imports = [ inputs.nixos-mailserver ];
Oh right, you probably want inputs.nixos-mailserver.nixosModule
07:50:50
@linus.heckemann:matrix.mayflower.deLinux Hackerman
{ config, pkgs, inputs, ... }:

{
  imports =
    [
      inputs.nixos-mailserver.nixosModule
    ];
08:29:28
@linus.heckemann:matrix.mayflower.deLinux Hackermanalso causes infinite recursion08:29:36
@linus.heckemann:matrix.mayflower.deLinux Hackerman I believe this is because inputs depends on the closure of nixos modules in the system, but the closure of nixos modules depends on inputs (because inputs is used right there in imports). 08:30:24
@linus.heckemann:matrix.mayflower.deLinux Hackermaninputs would have to be passed in "from outside" and can't be defined within a module.08:30:40

Show newer messages


Back to Room ListRoom Version: 6