diff --git a/modules/systemd.nix b/modules/systemd.nix
index 8ee2db65..939dc832 100644
--- a/modules/systemd.nix
+++ b/modules/systemd.nix
@@ -24,17 +24,17 @@ let
 
   buildService = style: name: serviceCfg:
     let
-      source = pkgs.writeText "${name}.${style}" (toSystemdIni serviceCfg);
+      source = pkgs.writeScript "${name}.${style}" (toSystemdIni serviceCfg);
 
       wantedBy = target:
         {
           name = "systemd/user/${target}.wants/${name}.${style}";
-          value = { inherit source; };
+          value = { inherit source; executable = false; };
         };
     in
       singleton {
         name = "systemd/user/${name}.${style}";
-        value = { inherit source; };
+        value = { inherit source; executable = false; };
       }
       ++
       map wantedBy (serviceCfg.Install.WantedBy or []);