diff options
| author | Malo Bourgon <mbourgon@gmail.com> | 2020-08-31 18:01:41 -0700 |
|---|---|---|
| committer | Malo Bourgon <mbourgon@gmail.com> | 2020-08-31 21:01:47 -0700 |
| commit | df4e6b697e38aec85ebef589b675651a892a74bb (patch) | |
| tree | 5f2f67c84e2512d97a35a7e83f71e3427515bc01 /tests/networking-hostname.nix | |
| parent | 943a6b25d7be58e45df9817139db2cb3808d3006 (diff) | |
Add separate options for ComputerName, HostName, and LocalHostName
Diffstat (limited to 'tests/networking-hostname.nix')
| -rw-r--r-- | tests/networking-hostname.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/networking-hostname.nix b/tests/networking-hostname.nix index 450c955..3793958 100644 --- a/tests/networking-hostname.nix +++ b/tests/networking-hostname.nix @@ -2,10 +2,11 @@ { networking.hostName = "EVE"; + networking.computerName = "EVE’s MacBook Pro"; test = '' echo checking hostname in /activate >&2 - grep "scutil --set ComputerName 'EVE'" ${config.out}/activate + grep "scutil --set ComputerName 'EVE’s MacBook Pro'" ${config.out}/activate grep "scutil --set LocalHostName 'EVE'" ${config.out}/activate grep "scutil --set HostName 'EVE'" ${config.out}/activate echo checking defaults write in ${config.out}/activate-user >&2 |
