[Nix-dev] Re: [Nix-commits] SVN commit: nix - 16460 - eelco - in nixos/branches/modular-nixos/modules/services/networking: . ssh

Eelco Dolstra e.dolstra at tudelft.nl
Sun Jul 26 23:02:28 CEST 2009


Hi,

Nicolas Pierron wrote:

>> +    # !!! This barfs because of the mkIf ("value is a list while an
>> +    #attribute set was expected") :-(
>> +    #networking.firewall.allowedTCPPorts = [22];
>> +
>>   };
>>
>>  }
> 
> This is working if you don't forget to import "firewall.nix".  Didn't
> I mention that maintaining such things by hand sucks?

I do import it in my own configuration.nix.

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/



More information about the nix-dev mailing list