Skip to content

Commit 9c7ca1a

Browse files
committed
update documentation
1 parent 07d1fb6 commit 9c7ca1a

4 files changed

Lines changed: 33 additions & 26 deletions

File tree

.github/assets/README_template.md

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,14 @@
2323
</div>
2424
<br>
2525

26-
**Nixy** is a **Hyprland** NixOS configuration with **home-manager**, **secrets**, and **custom theming** all in one place.
27-
It's a simple way to manage your system configuration and dotfiles.
26+
**Nixy simplifies and unifies** the Hyprland ecosystem with a modular, easily customizable setup. It provides a structured way to manage your system configuration and dotfiles with minimal effort.
27+
It includes *home-manager*, *secrets*, and *custom theming* all in one place.
2828

29-
I'm Hadi, a french developer, student in infosec, enthusiastic about nix, golang & blockchains.
30-
This is my own, **keyboard-centric**, and **minimalistic** NixOS configuration.
31-
I enable vim-like keybindings everywhere I can, and I use a lot of custom scripts to make my life easier.
29+
**Features:**
3230

33-
**Nixy key points:**
34-
35-
- Hypr-ecosystem first (hyprland, hyprlock, hyprpanel, hypridle, ...)
36-
- Stylix/base16 themes
37-
- Vim-like keybindings everywhere (hyprland, qutebrowser, nvim, ...)
31+
- 💻 Hyprland-centric: Preconfigured Hyprland ecosystem (Hyprlock, Hyprpanel, etc.)
32+
- 🎨 Consistent Theming: Base16 & Stylix-powered themes
33+
- ⌨️ Vim-like Everywhere: Unified keybindings (Hyprland, nvim, vimium, etc.)
3834

3935
## Table of Content
4036

@@ -49,9 +45,9 @@ I enable vim-like keybindings everywhere I can, and I use a lot of custom script
4945

5046
## Architecture
5147

52-
### 🏠 home
48+
### 🏠 home (User-level configuration)
5349

54-
Those are the dotfiles and configuration files for user-level configuration
50+
Contains dotfiles and settings that apply to your user environment.
5551

5652
**Subfolders:**
5753

@@ -65,13 +61,18 @@ Those are the system-level configurations. (audio, bluetooth, gpu, bootloader, .
6561

6662
### 🎨 themes
6763

68-
Those are the themes used in the system configuration. The `stylix` folder contains the [stylix](https://github.com/danth/stylix) defined themes, the `var` folder contains the variables not handled by stylix.
69-
See avaiable themes in [THEMES.md](docs/THEMES.md)
64+
This folder contains all system themes.
65+
Check out the available themes and learn how to create your own in [THEMES.md](docs/THEMES.md)
7066

7167
### 💻 hosts
7268

73-
Those are the host-specific configurations.
74-
Each host contains a `configuration.nix` for system-level configuration, a `home.nix` for user-level configuration, and a `variables.nix` for config wide variables.
69+
This directory contains host-specific configurations.
70+
Each host includes:
71+
72+
- `configuration.nix` for system-wide settings
73+
- `home.nix` for user-level configuration
74+
- `variables.nix` for global variables
75+
- `secrets/` for sensitive data
7576

7677
## Installation
7778

@@ -81,13 +82,17 @@ Each host contains a `configuration.nix` for system-level configuration, a `home
8182
git clone https://github.com/anotherhadi/nixy ~/.config/nixos
8283
```
8384

84-
2. Copy the `hosts/laptop` folder, rename it to your system name, and change the variables inside the `variables.nix` file
85-
3. Add your `hardware-configuration.nix` to your new host's folder
86-
4. Add your 'nixosConfigurations' inside `flake.nix`
85+
2. Copy the `hosts/laptop` folder, rename it to match your system’s hostname, and update `variables.nix` with your machine’s settings.
86+
3. Copy your `hardware-configuration.nix` into your new host's folder to ensure proper hardware support.
87+
4. Register your new host in `flake.nix` by adding it under nixosConfigurations.
8788

8889
> [!Important]
89-
> I added few `# CHANGEME` comments in the files to help you find what to change. Be sure to check them up.
90-
> You can use `rg "CHANGEME"` to find them all with ripgrep.
90+
> `# CHANGEME` comments are placed throughout the config to indicate necessary modifications.
91+
> Use the following command to quickly locate them:
92+
>
93+
> ```sh
94+
> rg "CHANGEME" ~/.config/nixos
95+
> ```
9196
9297
> [!TIP]
9398
> When you add new files, don't forget to run `git add .` to add them to the git repository
@@ -100,8 +105,9 @@ sudo nixos-rebuild switch --flake ~/.config/nixos#yourhostname
100105
101106
## Documentation
102107
108+
- [SERVER](docs/SERVER.md): Check out the server documentation
103109
- [THEMES](docs/THEMES.md): How themes work and how to create your own
104-
- [SCRIPTS](docs/SCRIPTS.md): Scripts that are available
110+
- [SCRIPTS](docs/SCRIPTS.md): A list of available scripts and their usage
105111
- [KEYBINDINGS-HYPRLAND](docs/KEYBINDINGS-HYPRLAND.md): Keybindings available in Hyprland
106112
- [WALLPAPERS](https://github.com/anotherhadi/nixy-wallpapers): A collection of wallpapers for Nixy.
107113

docs/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The process is straight-forward.
1010
- Create a Pull Request against the main branch of Nixy.
1111

1212
> [!TIP]
13-
> To update the README, change the `./docs/src/README_template.md` and run `./docs/scripts/create_readme.sh`
13+
> To update the README, change the `./.github/assets/README_template.md`
1414
1515
> [!IMPORTANT]
1616
> Don't push your host's folder

docs/SERVER.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# SERVER
2+
3+
---

docs/THEMES.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
# Themes
22

3-
## NOT UPDATED
4-
53
Themes are defined in `themes`. Those themes define the colors, fonts, icons, etc, used by Hyprland and the apps/programs installed.
6-
You can change the selected theme by changing the import statement of your host's configuration.nix file.
4+
You can change the selected theme by changing the import statement of your host's variables.nix file.
75

86
> [!TIP]
97
> To apply the theme to DuckDuckGo, follow the instructions in `$HOME/.duckduckgo-colorscheme.js`

0 commit comments

Comments
 (0)