mirror with sources
diff --git a/README.rst b/README.rst
index baee1fe..d4b1a14 100644
--- a/README.rst
+++ b/README.rst
@@ -80,6 +80,7 @@
              component: main
              architectures: amd64
              comment: "Custom components"
+             sources: false
              publisher:
                component: mycomponent
                distributions:
diff --git a/aptly/server/mirrors.sls b/aptly/server/mirrors.sls
index 2b863e7..ef958ac 100644
--- a/aptly/server/mirrors.sls
+++ b/aptly/server/mirrors.sls
@@ -60,7 +60,7 @@
 
 aptly_{{ mirror_name }}_mirror:
   cmd.run:
-  - name: aptly mirror create {% if mirror.get('udebs', False) %}-with-udebs=true {% endif %}-architectures={{ mirror.architectures }} {{ mirror_name }} {{ mirror.source }} {{ mirror.distribution }} {{ mirror.components }}
+  - name: aptly mirror create {% if mirror.get('udebs', False) %}-with-udebs=true {% endif %}{% if mirror.get('sources', False) %}-with-sources=true {% endif %}-architectures={{ mirror.architectures }} {{ mirror_name }} {{ mirror.source }} {{ mirror.distribution }} {{ mirror.components }}
   {%- if server.source.engine != "docker" %}
   - user: aptly
   {%- endif %}