From 44f55df8c73dc6e54d504670a96529740c9c93e8 Mon Sep 17 00:00:00 2001 From: "reaction.la" Date: Mon, 30 Sep 2024 10:36:26 +0000 Subject: [PATCH] modified the setup files to link to each other, and to have abstracts --- docs/setup/dovecot.md | 9 +++++++ docs/setup/{nixos.md => nix.md} | 36 ++++++++++++++++++++++++- docs/setup/set_up_build_environments.md | 9 +++++++ docs/setup/wireguard.md | 10 ++++--- 4 files changed, 59 insertions(+), 5 deletions(-) rename docs/setup/{nixos.md => nix.md} (90%) diff --git a/docs/setup/dovecot.md b/docs/setup/dovecot.md index b24c742..83bc8c5 100644 --- a/docs/setup/dovecot.md +++ b/docs/setup/dovecot.md @@ -1,6 +1,15 @@ --- title: Install Dovecot on Debian 10 sidebar: true +notmine: false +misc_links: >- + Set up build environments.
+ Wireguard.
+ nix.
+abstract: >- + These files are not specific to rhocoin. This is a note on setting up dovecot. Every time I mess around + and encounter some grief, I add to this pile of notes. + ... # Purpose diff --git a/docs/setup/nixos.md b/docs/setup/nix.md similarity index 90% rename from docs/setup/nixos.md rename to docs/setup/nix.md index 7070927..cfa6556 100644 --- a/docs/setup/nixos.md +++ b/docs/setup/nix.md @@ -2,6 +2,19 @@ title: Nixos sidebar: true +misc_links: >- + Set up build environments.
+ Wireguard.
+ Dovecot.
+abstract: >- + I know nothing about nix. This file exists to record my learning + experience.\ + + \ + + The plan is to be able to install nix on debian, then load a reproducible + configuration file so that I can instantly and reproducibly produce a + host setup the way I want it. ... Nixos is primarily a package manager with a declarative functional language as its package manager. @@ -16,8 +29,29 @@ on pinning to a specific Nixos release. # Install Nixos +On linux running systemd, with SELinux disabled, with curl, as root + +```bash +bash <(curl -L https://nixos.org/nix/install) --daemon +``` + +log off, then open a new terminal + +```bash +nix-shell -p nix-info --run "nix-info -m" +``` + + +You can open an issue at +https://github.com/NixOS/nix/issues/new?labels=installer&template=installer.md + +Or get in touch with the community: https://nixos.org/community + # minimal server +This describes nixos, which I would like to use, but probably cannot +be conveniently installed in a hosting service. + ssh and avahi daemon, pubkeys setup for ssh, users created. ## configuration.nix @@ -296,4 +330,4 @@ We have to pin to a particular release: The following code is an example of suc security.acme.acceptTerms = true; security.acme.defaults.email = "security@example.com"; } -``` \ No newline at end of file +``` diff --git a/docs/setup/set_up_build_environments.md b/docs/setup/set_up_build_environments.md index 6701fd0..d74246d 100644 --- a/docs/setup/set_up_build_environments.md +++ b/docs/setup/set_up_build_environments.md @@ -2,6 +2,15 @@ title: Set up build environments sidebar: true +notmine: false +misc_links: >- + Wireguard.
+ Dovecot.
+ nix.
+abstract: >- + These files are not specific to rhocoin. They are a collection + of notes on setting up operating systems and tools. Every time I mess around + and encounter some grief, I add to this pile of notes. ... # partitioning for linux diff --git a/docs/setup/wireguard.md b/docs/setup/wireguard.md index 6bbc5f5..d448326 100644 --- a/docs/setup/wireguard.md +++ b/docs/setup/wireguard.md @@ -2,12 +2,14 @@ title: Wireguard sidebar: true notmine: false +misc_links: >- + Set up build environments.
+ Dovecot.
+ nix.
+abstract: >- + Setting up your own vpn using wireguard and a Debian 11 server in the cloud ... -::: myabstract -[abstract:]{.bigbold}Setting up your own vpn using wireguard and a Debian 11 server in the cloud -::: - This tutorial largely stolen from [Linuxbabe](https://www.linuxbabe.com/debian/wireguard-vpn-server-debian){target="_blank"} It is slightly more up to date than her version at the time of writing.