From 336d27f77abb053f894e5d78011ffeed0f3ce680 Mon Sep 17 00:00:00 2001 From: Tastatur Date: Fri, 29 Dec 2023 22:43:24 +0100 Subject: [PATCH] Added repositories page --- .../post-install/repositories.md | 18 ++++++++++++++++++ mkdocs.yml | 1 + 2 files changed, 19 insertions(+) create mode 100644 docs/alpine-desktop-setup/post-install/repositories.md diff --git a/docs/alpine-desktop-setup/post-install/repositories.md b/docs/alpine-desktop-setup/post-install/repositories.md new file mode 100644 index 0000000..0796e39 --- /dev/null +++ b/docs/alpine-desktop-setup/post-install/repositories.md @@ -0,0 +1,18 @@ +# Repositories + +It's important to set the correct repositories when using any Linux distro. For Alpine these can be configured in `/etc/apk/repositories`: + +``` +https://dl-cdn.alpinelinux.org/alpine/latest-stable/main +https://dl-cdn.alpinelinux.org/alpine/latest-stable/community +``` + +This will use the latest stable repository of Alpine (for example `v3.19`). To use a different version of Alpine simply change `latest-stable` to whatever version you want. Do note that you can not (easily) downgrade your systems version. There are also the edge repositories which contain more packages but these are not recommended because they can result in faster breakage of your system. + +## apk-ample + +We also host our own repository which contains some packages not found in the stable repository like `nix` but also our own packages like `linux-hardened`. If you want to add it to your system edit `/etc/apk/repositories` and add this line under the other repositories: + +``` +https://git.bijl.us/lnco/apk-ample/raw/branch/main/alpine/ +``` diff --git a/mkdocs.yml b/mkdocs.yml index 297b7ab..1e60c86 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -49,6 +49,7 @@ nav: - 'Post installation': - 'Network': alpine-desktop-setup/post-install/network.md - 'Security': alpine-desktop-setup/post-install/security.md + - 'Repository': alpine-desktop-setup/post-install/repositories.md - 'Users': alpine-desktop-setup/post-install/users.md - 'Nix': alpine-desktop-setup/post-install/nix.md - 'Config files': alpine-desktop-setup/post-install/config-files.md