aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaditya Dhruv <[email protected]>2023-09-10 13:55:30 -0500
committerAaditya Dhruv <[email protected]>2023-09-10 13:55:30 -0500
commitebc2b32f9db956f8e962a56044c9b6bd68b112ba (patch)
treec34faa46ea00e83acdbbc99d844a0a3aed561d39
parente3b667abbdfa192ad9baeb44a28a57ff1346b498 (diff)
Update README and include CONFIGURATION.md
CONFIGURATION.md describes how to configure the playbook and what each variable does
-rw-r--r--CONFIGURATION.md56
-rw-r--r--README.md34
2 files changed, 66 insertions, 24 deletions
diff --git a/CONFIGURATION.md b/CONFIGURATION.md
new file mode 100644
index 0000000..d7483bc
--- /dev/null
+++ b/CONFIGURATION.md
@@ -0,0 +1,56 @@
+### Configuration
+
+This a documentation page on configuring the installation using `config.yaml`.
+There are two aspects to configuration - using the "group" like tags to install
+items in groups, or manually overriding the variables to fine-tune the installation.
+
+#### Normal Installation
+
+This method is as intended, by using the provided flags.
+
+##### Descriptions
+
+| Variable | Purpose |
+| -------- | ------- |
+| username | This is used to choose what home directory will the configuration files be installed to |
+| packages | The list of packages that should be installed. Note these are package groups |
+| system | The system group. It can be used to configure stuff like wireguard, systemd etc. |
+| opt | Currently unimplemented, but will be used for optional installations |
+| config | The "dotfiles" group. It installs the configuration files for various tool |
+
+##### Usage
+
+###### `packages`
+
+The following package groups are available:
+
+```
+- gaming #Gaming tools like wine, corectrl etc.
+- development #Development tools like neovim, clang, etc.
+- tools # Various configuration utilites like btop, nmtui etc.
+- libraries # Some libraries I use
+- xorg # Xorg specific packages like polybar
+- wayland # Wayland specific packages like waybar
+
+```
+Each of these groups has `dnf` and `flatpak` packages under it, which will be installed.
+
+###### `system`
+
+The following variables are present for system:
+`wireguard`: This in itself doesn't do anything but has variable(s) under it.
+`wg_path`: This is the location of the configuration file you want to include in the notebook.
+`install_wireguard`: Should wireguard be setup or not.
+`install_systemd`: Should systemd services be setup or not.
+
+
+###### `config`
+
+The following variables are present for config:
+
+`install_shell`: Should shell be setup or not. This includes zsh, zsh plugins and (neo)vim.
+`install_wayland`: Should wayland configs be setup or not. This includes configs for stuff like waybar, hyprland etc.
+`install_xorg`: Should xorg configs be setup or not. This includes configs for stuff like polybar, bspwm etc.
+`install_misc`: Should misc configs be setup or not. This is for misc packages like fonts. This has not yet been implemented.
+
+
diff --git a/README.md b/README.md
index 1ef522a..896ce8d 100644
--- a/README.md
+++ b/README.md
@@ -1,32 +1,18 @@
-# bspwm-dotfiles
-My BSPWM + Arch/Void setup config and dotfiles
+# Dotfiles
+This repository is used to setup my Fedora Workstation. It consists of various Ansible playbooks that automate a
+large chunk of setting up tools, configuartion files and system packages.
-This is the setup I use when running BSPWM on Arch/Void.
+While I use GNOME on my workstation, this playbook allows installation of either BSPWM (XOrg) or Hyprland (Wayland).
+Those flags can be setup in `config.yaml`.
-The auto-setup should work to setup the config files.
-Zsh setup works, but you need to run it twice since it takes you to the ZSH prompt.
+All configuration should be done through `config.yaml`. The repo does let you install a lot of the packages by
+`groups`
-Currently the script to install the packages are using pacman but to run it on Void (or any other distro) just change the syntax.
+To understand how to configure the installation, refer to [`CONFIGURATION.md`](./CONFIGURATION.md)
-For Void:
-pacman -S ---> xbps-install
+This is how the setup looks on Fedora with Hyprland as the TWM.
-xorg-server --> xorg
-
-
-On Fedora (Current):
-
-![alt fedora](images/fedora-wayland.png "Dots on Fedora")
-
-On Arch:
-
-![alt arch](images/arch.png "Dots on Arch")
-
-
-
-On Void:
-
-![alt void](images/void.png "Dots on Void")
+![alt fedora](res/fedora-wayland.png "Hyprland on Fedora")