NixOS deployment for LinuxLab
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
268 B

  1. { lib, config, ... }:
  2. with lib;
  3. {
  4. imports = [
  5. ../../client/users.nix
  6. ];
  7. networking.extraHosts = concatMapStringsSep "\n"
  8. ({ name, value }: "${value.ip} pc${name} pc${name}.${config.networking.domain}")
  9. (attrsToList (import ../../clients.nix));
  10. }