site

My personal website.

Date: Wed, 14 Jul 2021 12:27:38 +0200

Add information on my GNU/Linux system

Diffstat:

M index.gmi                           |       9 +++++----
M software.gmi                        |       5 ++---
A system.gmi                          |      32 +++++++++++++++++++++++++++++++

3 files changed, 39 insertions(+), 7 deletions(-)

@@ -2,9 +2,9 @@
 
 ## Introduction
 
-I'm interested in computers, computer science and recently GNU/Linux and free software. On this site I post anything related to this.
+I'm interested in computers, computer science and more recently GNU/Linux and free software. On this site I post anything related to this.
 
-I like minimalism, and so this site is available on not just the web, but also gemini and gopher. The site is written for gemini, and the gopher and web versions are just mirrors. This is also why all links are their own line, and there are no inline images, gifs, videos or any other bloated things.
+I like minimalism, and so this site is available on not just the web, but also gemini and gopher. The site is written for Gemini, and the Gopher and Web versions are just mirrors. This is also why all links are their own line, and there are no inline images, gifs, videos or any other bloated things.
 
 => gopher://milotier.net Gopher version
 => https://en.wikipedia.org/wiki/Gopher_(protocol) Info on Gopher
@@ -17,8 +17,9 @@ I like minimalism, and so this site is available on not just the web, but also g
 ## Links
 
 Here are some useful links:
-=> /software.gmi Software I use
-=> /repositories.gmi My git repositories
+=> /system.gmi An overview of my GNU/Linux system
+=> /software.gmi A list of software I use
+=> /repositories.gmi A list of my git repositories
 
 ## Contact
 
@@ -1,7 +1,6 @@
 # Software I use
 
-This is a list of (some of) the software I use. Some of these are also in the list of my git repositories:
-=> /repositories.gmi Repositories
+This is a list of (some of) the software I use. Some of these are also in the list of my git repositories.
 
 ## Basic
 
@@ -56,5 +55,5 @@ A fork of mutt, a terminal-ui based email client.
 => https://git.milotier.net/surf Custom build of surf
 => https://surf.suckless.org Info page
 
-### Gopher/gemini browser
+### Gopher/Gemini browser
 => https://bombadillo.colorfield.space Bombadillo
@@ -0,0 +1,32 @@
+# My GNU/Linux system
+
+This is a short overview of my GNU/Linux system, how I organise my home directory and how I keep track of my configuration.
+
+## Distribution
+
+I use Artix, a fork of Arch where systemd is replaced with either OpenRC, runit or s6. I use runit as my init system and don't use any of the desktop environments that can come preinstalled. I use Artix because it is very barebones and can be fully configured to my liking.
+
+## File/directory naming
+
+I generally name my files using kebab-case, no uppercase letters. Directory names are usually a single word. Files and directories are only hidden if I never edit them directly (i.e. cache files, data files or other files created and used by programs only). This means that my config directory is ~/config, not ~/.config. Exceptions to this are files used by programs that can't be renamed, like ~/.zshenv.
+
+## Home directory structure
+
+My home directory itself contains very little files and directories. It is split up into archive, config, projects, school and tmp. ~/archive is for files like images, videos, documents and other things I don't edit and access very often. ~/config is for configuration. ~/projects is for personal projects, like programs and this site. ~/school is for school-related things. ~/tmp is for downloads and other temporary files created by myself, it doesn't contain any important files and I often wipe it.
+
+To keep my home directory clean, I use the XDG directories:
+=> wiki.archlinux.org/title/XDG_Base_Directory Info
+```
+XDG_CONFIG_HOME: ~/config
+XDG_CACHE_HOME: ~/.cache
+XDG_DATA_HOME: ~/.local/share
+XDG_STATE_HOME: ~/.local/state
+```
+
+Although it is mostly clean this way, some programs still create files directly in my home directory, and I can't do much about that.
+
+## Configuration
+
+Most of my configuration files are in my ~/config directory. It is split up info dotfiles, programs and scripts. In config/dotfiles are the configuration files for the programs I use (like vimrc), config/scripts contains scripts I wrote and config/programs is for suckless programs (see my list of software and repositories).
+
+Unfortunately, some system-wide configuration can't be in my home directory, which makes it harder to keep track of. I'm thinking of adding some config files from /etc to my configuration repository, but I don't yet know how.