diff --git a/flake.lock b/flake.lock
index c8eec7e..2fed33d 100644
--- a/flake.lock
+++ b/flake.lock
@@ -317,11 +317,11 @@
         ]
       },
       "locked": {
-        "lastModified": 1726036828,
-        "narHash": "sha256-ZQHbpyti0jcAKnwQY1lwmooecLmSG6wX1JakQ/eZNeM=",
+        "lastModified": 1726142087,
+        "narHash": "sha256-uT4TRd3PgreUD5sJaNioVfMemdyWFLoPHqN4AFszGmw=",
         "owner": "nix-community",
         "repo": "home-manager",
-        "rev": "8a1671642826633586d12ac3158e463c7a50a112",
+        "rev": "da8406a6ff556b86dc368e96ca8bd81b2704a91a",
         "type": "github"
       },
       "original": {
@@ -470,11 +470,11 @@
         "treefmt-nix": "treefmt-nix"
       },
       "locked": {
-        "lastModified": 1726027257,
-        "narHash": "sha256-hsdIfpIB5wzEehgOSaifBJwY3Tn0P0wiU9pTf8nRBQc=",
+        "lastModified": 1726133505,
+        "narHash": "sha256-5Q7Io0J98z7UOswrruOuO/jJNduSB3PKFw/sDz0NX1A=",
         "owner": "nix-community",
         "repo": "nixvim",
-        "rev": "11c133e89e4090c43445a2c3b5af2322831d7219",
+        "rev": "4697b96a0124944929ecefa09d488c7997419e43",
         "type": "github"
       },
       "original": {
diff --git a/homeManagerModules/zsh.nix b/homeManagerModules/zsh.nix
new file mode 100644
index 0000000..ff64640
--- /dev/null
+++ b/homeManagerModules/zsh.nix
@@ -0,0 +1,16 @@
+{config, pkgs, ...}:  {
+	programs.zsh = {
+  		enable = true;
+		enableSyntaxHighlighting = true;
+		loginExtra = "sway --unsupported-gpu";
+		shellAliases = {
+			"update" = "sudo nixos-rebuild switch --flake /home/rohand/nixos-surface-config#xps";
+		};
+		oh-my-zsh = {
+			enable = true;
+			plugins = ["git" "vi-mode"];
+			theme = "afowler";
+		};
+  };
+
+}
diff --git a/hosts/xps/home.nix b/hosts/xps/home.nix
index d770e5d..03e3b00 100644
--- a/hosts/xps/home.nix
+++ b/hosts/xps/home.nix
@@ -11,6 +11,7 @@
 	./../../homeManagerModules/pandoc.nix
 	./../../homeManagerModules/bat.nix
 	./../../homeManagerModules/i3status.nix
+	./../../homeManagerModules/zsh.nix
   ];
   # Home Manager needs a bit of information about you and the
   # paths it should manage.
@@ -46,19 +47,6 @@
 
   # Let Home Manager install and manage itself.
   programs.home-manager.enable = true;
-  programs.zsh = {
-  	enable = true;
-	enableSyntaxHighlighting = true;
-	loginExtra = "sway --unsupported-gpu";
-	shellAliases = {
-		"update" = "sudo nixos-rebuild switch --flake /home/rohand/nixos-surface-config#xps";
-	};
-	oh-my-zsh = {
-		enable = true;
-		plugins = ["git" "vi-mode"];
-		theme = "minimal";
-	};
-  };
   #programs.alacritty = {
   #	enable = true;
   #};