Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 49d444416cf88dad03da0ec71573cd9747245581
      
https://github.com/NixOS/nixpkgs/commit/49d444416cf88dad03da0ec71573cd9747245581
  Author: Bjørn Forsman <[email protected]>
  Date:   2017-01-01 (Sun, 01 Jan 2017)

  Changed paths:
    M nixos/modules/tasks/network-interfaces.nix

  Log Message:
  -----------
  nixos: cosmetic refactor of environment.etc."hostid"

Create the file using attrset instead of list, to make it easier to
later provide other files in the same module.


  Commit: cb9195b7bcde7ec8a2d5fa99df0a93afacd5c537
      
https://github.com/NixOS/nixpkgs/commit/cb9195b7bcde7ec8a2d5fa99df0a93afacd5c537
  Author: Bjørn Forsman <[email protected]>
  Date:   2017-01-02 (Mon, 02 Jan 2017)

  Changed paths:
    M nixos/modules/tasks/network-interfaces.nix

  Log Message:
  -----------
  nixos: provide /etc/hostname

/etc/hostname is the file used by hostnamectl(1) and the
org.freedesktop.hostname1 dbus service (both provided by systemd) to get
the "static hostname". Better provide it so that users of those
tools/services get a proper hostname.

An example of an issue created by the lack of /etc/hostname is that the
bluetooth stack on NixOS identifies itself to peers as "BlueZ $VERSION"
instead of the hostname.

References:
https://www.freedesktop.org/software/systemd/man/hostname.html

Changes v1 -> v2:
  * ensure /etc/hostname ends with a newline


  Commit: 1cc8b830792eb415c97df939776e29cae26fefdf
      
https://github.com/NixOS/nixpkgs/commit/1cc8b830792eb415c97df939776e29cae26fefdf
  Author: Jörg Thalheim <[email protected]>
  Date:   2017-01-02 (Mon, 02 Jan 2017)

  Changed paths:
    M nixos/modules/tasks/network-interfaces.nix

  Log Message:
  -----------
  Merge pull request #21566 from bjornfor/hostname

nixos: provide /etc/hostname


Compare: https://github.com/NixOS/nixpkgs/compare/f16eda3fb1cd...1cc8b830792e
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to