git.delta.rocks / jrsonnet / refs/commits / db326543f0fb

difftreelog

source

nixos/meta.nix947 Bsourcehistory
1{2  lib,3  pkgs,4  ...5}:6with lib; {7  options = with types; {8    nixpkgs.resolvedPkgs = mkOption {9      type = types.pkgs // {description = "nixpkgs.pkgs";};10      description = "Value of pkgs";11    };12    tags = mkOption {13      type = listOf str;14      description = "Host tags";15      default = [];16    };17    network = mkOption {18      type = submodule {19        options = {20          internalIps = mkOption {21            type = listOf str;22            description = "Internal ips";23            default = [];24          };25          externalIps = mkOption {26            type = listOf str;27            description = "External ips";28            default = [];29          };30        };31      };32      description = "Network definition of host";33    };34    buildTarget = mkOption {35      type = enum ["toplevel" "sd-image" "installation-cd"];36    };37  };38  config = {39    tags = ["all"];40    network = {};41    nixpkgs.resolvedPkgs = pkgs;42  };43}