Compare commits

...

5 Commits

Author SHA1 Message Date
Cheng
6fcb592334
Merge branch 'docs' 2024-10-11 08:50:31 +10:00
reaction.la
44f55df8c7
modified the setup files to link to each other, and to have abstracts 2024-09-30 20:36:27 +10:00
reaction.la
f272203fc9
still syncing the .gitattributes in wxWidgets 2024-09-21 12:38:26 +10:00
reaction.la
8492032ff9
minor correction on setup.md 2024-09-21 12:17:47 +10:00
reaction.la
210d95283e
wxWidgets 2024-09-15 10:11:34 +10:00
4 changed files with 60 additions and 6 deletions

View File

@ -1,6 +1,15 @@
--- ---
title: Install Dovecot on Debian 10 title: Install Dovecot on Debian 10
sidebar: true sidebar: true
notmine: false
misc_links: >-
<a href="set_up_build_environments.md" target="_blank">Set up build environments</a>.<br>
<a href="wireguard.html" target="_blank">Wireguard</a>.<br>
<a href="nix.html" target="_blank">nix</a>.<br>
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 # Purpose

View File

@ -2,6 +2,19 @@
title: title:
Nixos Nixos
sidebar: true sidebar: true
misc_links: >-
<a href="set_up_build_environments.md" target="_blank">Set up build environments</a>.<br>
<a href="wireguard.html" target="_blank">Wireguard</a>.<br>
<a href="dovecot.html" target="_blank">Dovecot</a>.<br>
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. 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 # 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 # 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. ssh and avahi daemon, pubkeys setup for ssh, users created.
## configuration.nix ## 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.acceptTerms = true;
security.acme.defaults.email = "security@example.com"; security.acme.defaults.email = "security@example.com";
} }
``` ```

View File

@ -2,6 +2,15 @@
title: title:
Set up build environments Set up build environments
sidebar: true sidebar: true
notmine: false
misc_links: >-
<a href="wireguard.html" target="_blank">Wireguard</a>.<br>
<a href="dovecot.html" target="_blank">Dovecot</a>.<br>
<a href="nix.html" target="_blank">nix</a>.<br>
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 # partitioning for linux
@ -254,7 +263,7 @@ ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key
Note that visual studio remote compile requires an `ecdsa-sha2-nistp256` key on the host machine that it is remote compiling for. If it is nist, it is Note that visual studio remote compile requires an `ecdsa-sha2-nistp256` key on the host machine that it is remote compiling for. If it is nist, it is
backdoored backdoored
To change the snake oil certificate: To change the snake oil certificate created and used by `xrdp`:
```bash ```bash
make-ssl-cert generate-default-snakeoil --force-overwrite make-ssl-cert generate-default-snakeoil --force-overwrite

View File

@ -2,12 +2,14 @@
title: Wireguard title: Wireguard
sidebar: true sidebar: true
notmine: false notmine: false
misc_links: >-
<a href="set_up_build_environments.md" target="_blank">Set up build environments</a>.<br>
<a href="dovecot.html" target="_blank">Dovecot</a>.<br>
<a href="nix.html" target="_blank">nix</a>.<br>
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 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. more up to date than her version at the time of writing.