Remove the start and end of the wlogout json, because that's required for some reason
diff --git a/src/apps/personal/sway.nix b/src/apps/personal/sway.nix
index 07ee1cb..4c776a8 100644
--- a/src/apps/personal/sway.nix
+++ b/src/apps/personal/sway.nix
@@ -37,7 +37,8 @@
       keybind = "r";
     }
   ];
-  wlogoutConfigFile = pkgs.writeText "wlogout-layout.layout" (builtins.toJSON wlogoutConfig);
+  wlogoutJson = (builtins.toJSON wlogoutConfig);
+  wlogoutConfigFile = pkgs.writeText "wlogout-layout.layout" (builtins.substring 1 ((builtins.stringLength wlogoutJson) - 1) wlogoutJson);
 in {
     wayland.windowManager.sway = {
         enable = true;