fix: hostname for macos

This commit is contained in:
Noah Masur 2022-09-28 15:33:49 -04:00
parent e6b7938218
commit 5ce4ebf522
2 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,7 @@ darwin.lib.darwinSystem {
gui.enable = true;
colorscheme = (import ../../modules/colorscheme/gruvbox);
mailUser = globals.user;
networking.hostName = "noah-masur-mac";
nixpkgs.overlays = [ nur.overlay ];
# Set registry to flake packages, used for nix X commands
nix.registry.nixpkgs.flake = nixpkgs;

View File

@ -2,7 +2,8 @@
networking = {
computerName = "${config.fullName}'\\''s Mac";
hostName = "${config.user}-mac";
# Adjust if necessary
# hostName = "";
};
}