summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/package-manager/apt/sources.list20
-rw-r--r--vps-builder.scm3
2 files changed, 23 insertions, 0 deletions
diff --git a/assets/package-manager/apt/sources.list b/assets/package-manager/apt/sources.list
new file mode 100644
index 0000000..1147787
--- /dev/null
+++ b/assets/package-manager/apt/sources.list
@@ -0,0 +1,20 @@
+# A good config when you're in the Netherlands
+# TODO: Figure out a way to make it easier to set up local mirrors
+
+deb http://ftp.surfnet.nl/os/Linux/distr/debian/ jessie main contrib non-free
+deb-src http://ftp.surfnet.nl/os/Linux/distr/debian/ jessie main contrib
+
+# Mirror
+deb ftp://mirror.nl.leaseweb.net/debian/ jessie main contrib non-free
+deb-src ftp://mirror.nl.leaseweb.net/debian/ jessie main contrib
+
+deb http://security.debian.org/ jessie/updates main contrib non-free
+deb-src http://security.debian.org/ jessie/updates main contrib
+
+# jessie-updates, previously known as 'volatile'
+deb http://ftp.surfnet.nl/os/Linux/distr/debian/ jessie-updates main contrib non-free
+deb-src http://ftp.surfnet.nl/os/Linux/distr/debian/ jessie-updates main contrib
+
+# Mirror
+deb ftp://mirror.nl.leaseweb.net/debian/ jessie-updates main contrib non-free
+deb-src ftp://mirror.nl.leaseweb.net/debian/ jessie-updates main contrib
diff --git a/vps-builder.scm b/vps-builder.scm
index 845213c..1f45c3f 100644
--- a/vps-builder.scm
+++ b/vps-builder.scm
@@ -185,6 +185,9 @@
(install-file root-dir "assets/package-manager/apt/apt-settings"
"/etc/apt/apt.conf.d/90custom-config"
"root" "root" #o644)
+ (install-file root-dir "assets/package-manager/apt/sources.list"
+ "/etc/apt/sources.list"
+ "root" "root" #o644)
(install-file root-dir "assets/fstab"
"/etc/fstab" "root" "root" #o644)
(install-file root-dir "assets/modprobe/blacklist.conf"