blob: 14d1ded0d4ca428e121650c1e72ae5f1946da9bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{ lib, config, ... }:
{
networking.hostName = "EVE";
networking.computerName = "EVE’s MacBook Pro";
test = ''
echo checking hostname in /activate >&2
grep "scutil --set ComputerName 'EVE’s MacBook Pro'" ${config.out}/activate
grep "scutil --set LocalHostName ${lib.escapeShellArg "EVE"}" ${config.out}/activate
grep "scutil --set HostName ${lib.escapeShellArg "EVE"}" ${config.out}/activate
'';
}
|