about summary refs log tree commit diff
path: root/nix/hosts/mba
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-10-26 08:41:00 -0700
committerFranck Cuny <franck@fcuny.net>2024-10-26 08:41:00 -0700
commitfeea0771dd6747428c1b5c8b091552a1cd95477f (patch)
tree660950ddb1e5a028db008b44df45b3581b0bf24f /nix/hosts/mba
parentautomatically install updates for MacOS (diff)
downloadworld-feea0771dd6747428c1b5c8b091552a1cd95477f.tar.gz
configure the host's name for the MBA
Diffstat (limited to 'nix/hosts/mba')
-rw-r--r--nix/hosts/mba/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/nix/hosts/mba/default.nix b/nix/hosts/mba/default.nix
index ad91147..8beef56 100644
--- a/nix/hosts/mba/default.nix
+++ b/nix/hosts/mba/default.nix
@@ -1,5 +1,4 @@
-{ pkgs, self, ... }:
-{
+{ pkgs, self, ... }: {
   services.nix-daemon.enable = true;
 
   programs.fish.enable = true;
@@ -14,5 +13,8 @@
 
   system.stateVersion = 5;
 
-  home-manager.users.fcuny = import "${self}/nix/profiles/home-manager/personal.nix";
+  networking.hostName = "mba-fcuny";
+
+  home-manager.users.fcuny =
+    import "${self}/nix/profiles/home-manager/personal.nix";
 }