dotfiles/modules/darwin/networking.nix

17 lines
215 B
Nix
Raw Normal View History

2024-04-20 13:42:06 +00:00
{
config,
pkgs,
lib,
...
}:
{
2022-06-20 03:44:29 +00:00
2022-12-21 21:18:03 +00:00
config = lib.mkIf pkgs.stdenv.isDarwin {
networking = {
2024-01-25 02:52:33 +00:00
computerName = config.networking.hostName;
2022-12-21 21:18:03 +00:00
# Adjust if necessary
# hostName = "";
};
2022-06-20 03:44:29 +00:00
};
}