feat: static hostname - macOS

This commit is contained in:
Ryan Yin committed 2023-07-15 19:45:10 +08:00
1 parent fa9f23751c
commit cca05de49b
2 files changed
+11 -2

No files matched your search

+7
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;
}