about summary refs log tree commit diff
path: root/modules/darwin/common/networking.nix
blob: 6c503bc439ded716b5b4311c32757b35f17b3fa2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
{
  this,
  localHostname ? this.hostname,
  ...
}: {
  networking = {
    computerName = localHostname;
    hostName = localHostname;
  };
}

Consider giving Nix/NixOS a try! <3