stockholm/lass/4lib/default.nix

11 lines
123 B
Nix
Raw Normal View History

2015-11-13 00:59:07 +01:00
{ lib, ... }:
2015-08-28 16:30:36 +02:00
2015-10-21 02:23:57 +02:00
with lib;
2015-08-28 16:30:36 +02:00
2015-10-21 02:23:57 +02:00
{
2015-08-28 16:30:36 +02:00
getDefaultGateway = ip:
concatStringsSep "." (take 3 (splitString "." ip) ++ ["1"]);
2015-08-28 16:30:36 +02:00
}