feat: static hostname - macOS

This commit is contained in:
Ryan Yin
2023-07-15 19:43:41 +08:00
parent fa9f23751c
commit cca05de49b
2 changed files with 11 additions and 2 deletions

View File

@@ -6,6 +6,9 @@
#
#############################################################
let
name = "harnomica";
in
{
imports = [
../../modules/darwin/core.nix
@@ -13,4 +16,8 @@
../../secrets/darwin.nix
];
networking.hostName = name;
networking.computerName = name;
smb.NetBIOSName = name;
}