diff --git a/configuration.nix b/configuration.nix
index 9345da1d..482425fe 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -43,7 +43,6 @@
 
   # Enable networking
   networking = {
-    hostName = "${hostname}";
     networkmanager = { 
       enable = true;
     };
diff --git a/flake.nix b/flake.nix
index ed23f572..67b98f30 100644
--- a/flake.nix
+++ b/flake.nix
@@ -30,7 +30,7 @@
       inherit system;
       config = { allowUnfree = true; };
     };
-    networking.hostname = "${hostname}"
+    networking.hostname = "${hostname}";
     lib = nixpkgs.lib;
   in {
     # Set up users with home-manager