diff --git a/Droidnix/README.html b/Droidnix/README.html index 32d2a6b92..8139f97f4 100644 --- a/Droidnix/README.html +++ b/Droidnix/README.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Droidnix: A Dendritic NixOS + Home Manager Configuration NixOS Configuration Structure @@ -204,116 +204,116 @@

Table of Contents

-
-

Shortcuts

-
+
+

Shortcuts

+

Introduction The Assets Folder @@ -329,26 +329,26 @@

Introduction   intro

-
-

What is Droidnix

-
+
+

What is Droidnix

+

Droidnix is a modular, declarative NixOS + Home Manager configuration system. It allows users to choose between Hyprland and Mangowc as their window manager, with shared and WM-specific configurations managed via Emacs Org and Nix Flakes. The project is designed for reproducibility, maintainability, and cross-machine compatibility.

-
-

Installed components:

-
+
+

Installed components:

+
    -
  • Core
  • -
  • Hyprland
  • -
  • Mangowc
  • +
  • Core
  • +
  • Hyprland
  • +
  • Mangowc
-
-

Goals, project Structure, import hierarchy

-
+
+

Goals, project Structure, import hierarchy

+

This project uses a modular NixOS configuration with Hyprland and MangoWC support, designed for literate programming and cross-device reusability. The Droidnix repository is organized into two main parts: @@ -361,9 +361,9 @@ The Droidnix repository is organized into two main parts:

-
-

Root Level

-
+
+

Root Level

+
  • flake.nix is the entry point and imports:
      @@ -374,16 +374,16 @@ The Droidnix repository is organized into two main parts:
-
-

Generated Structure

-
+
+

Generated Structure

+

The generated/ directory contains all generated configurations, divided into three main groups: system, hyprland, and mangowc.

-
-

First Setup

-
+
+

First Setup

+
  1. Clone this repository.
  2. Run the setup script: ./setup_droid.
  3. @@ -413,9 +413,9 @@ The .assets/ folder contains all static files, such as configs, scr This section contains the Org blocks for tangling Nix code into the generated folders.

-
-

flake.nix

-
+
+

flake.nix

+

The Nix flake definition for Droidnix.

@@ -484,9 +484,9 @@ The Nix flake definition for Droidnix.
-
-

generated/hosts/traveldroid/host.nix

-
+
+

generated/hosts/traveldroid/host.nix

+
{ lib, config, pkgs, flakeRoot, import-tree, home-manager, ... }:
 
@@ -544,9 +544,9 @@ in
 
-
-

generated/hosts/traveldroid/hardware-configuration.nix

-
+
+

generated/hosts/traveldroid/hardware-configuration.nix

+
  1. Boot into NixOS Live ISO or your installed system.
  2. Open a terminal.
  3. @@ -604,9 +604,9 @@ in
-
-

generated/hosts/traveldroid/boot.nix

-
+
+

generated/hosts/traveldroid/boot.nix

+
{ config, pkgs, lib, flakeRoot, ... }:
 
@@ -655,17 +655,17 @@ in
 
-
-

Following are the imported modules

+
+

Following are the imported modules

-
-

generated/traveldroid/modules/apps

-
+
+

generated/traveldroid/modules/apps

+
-
-

generated/modules/traveldroid/apps/2_b_installed.nix

-
+
+

generated/modules/traveldroid/apps/2_b_installed.nix

+

This installs a list of apps

@@ -773,9 +773,9 @@ in {
-
-

generated/assets/2_b_installed.conf

-
+
+

generated/assets/2_b_installed.conf

+

This is a list of additional apps to install

@@ -828,9 +828,9 @@ com.todoist.Todoist
-
-

generated/modules/traveldroid/apps/flameshot.nix

-
+
+

generated/modules/traveldroid/apps/flameshot.nix

+

This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder

@@ -869,9 +869,9 @@ in
-
-

generated/modules/traveldroid/apps/kitty.nix

-
+
+

generated/modules/traveldroid/apps/kitty.nix

+

This file sets up Kitty terminal

@@ -929,9 +929,9 @@ in
-
-

generated/modules/traveldroid/apps/starship.nix

-
+
+

generated/modules/traveldroid/apps/starship.nix

+

This file sets up starship prompt

@@ -970,9 +970,9 @@ in
-
-

.config/starship.toml

-
+
+

.config/starship.toml

+

These are config files for .config

@@ -1261,9 +1261,9 @@ crust = "#181926"
-
-

generated/modules/traveldroid/apps/thunar.nix

-
+
+

generated/modules/traveldroid/apps/thunar.nix

+

This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder

@@ -1304,9 +1304,9 @@ in
-
-

generated/modules/traveldroid/apps/wofi.nix

-
+
+

generated/modules/traveldroid/apps/wofi.nix

+

This is the install for Wofi, the launcher

@@ -1339,9 +1339,9 @@ in
-
-

.config/wofi/config

-
+
+

.config/wofi/config

+

These are config files for .config/wofi

@@ -1388,9 +1388,9 @@ prompt = >
-
-

.config/wofi/style.css

-
+
+

.config/wofi/style.css

+

These are config files for .config/wofi

@@ -1479,9 +1479,9 @@ These are config files for .config/wofi
-
-

generated/modules/traveldroid/apps/zenbrowser.nix

-
+
+

generated/modules/traveldroid/apps/zenbrowser.nix

+

This installs zen browser

@@ -1501,9 +1501,9 @@ in
-
-

generated/modules/traveldroid/apps/zsh.nix

-
+
+

generated/modules/traveldroid/apps/zsh.nix

+

This sets up the zsh in the terminal

@@ -1566,9 +1566,9 @@ in
-
-

=generated/.config/zsh/.zshrc

-
+
+

=generated/.config/zsh/.zshrc

+

This sets up the zsh in the terminal

@@ -1589,9 +1589,9 @@ fi
-
-

generated/modules/traveldroid/apps/emacs/emacs.nix

-
+
+

generated/modules/traveldroid/apps/emacs/emacs.nix

+

This installs emacs

@@ -1687,9 +1687,9 @@ in
-
-

generated/.config/emacs/early-init.el

-
+
+

generated/.config/emacs/early-init.el

+

This contaions emacs

@@ -1790,9 +1790,9 @@ package-archive-priorities '(("gnu" . 99)
-
-

generated/.config/emacs/init.el

-
+
+

generated/.config/emacs/init.el

+

This contaions emacs

@@ -2203,13 +2203,13 @@ the top of the file."
-
-

generated/modules/traveldroid/desktop

-
+
+

generated/modules/traveldroid/desktop

+
-
-

generated/modules/traveldroid/desktop/fonts.nix

-
+
+

generated/modules/traveldroid/desktop/fonts.nix

+

This file installs and configures fonts

@@ -2227,9 +2227,9 @@ This file installs and configures fonts
-
-

generated/modules/traveldroid/desktop/gtk.nix

-
+
+

generated/modules/traveldroid/desktop/gtk.nix

+

Setting up GTK

@@ -2255,9 +2255,9 @@ in
-
-

generated/modules/traveldroid/desktop/hyprland.nix

-
+
+

generated/modules/traveldroid/desktop/hyprland.nix

+

Setting up Hyprland

@@ -2304,9 +2304,9 @@ in
-
-

.config/hypr/animations.conf

-
+
+

.config/hypr/animations.conf

+

These are config files for .config/hypr

@@ -2327,9 +2327,9 @@ animations {
-
-

.config/hypr/behaviour.conf

-
+
+

.config/hypr/behaviour.conf

+

These are config files for .config/hypr

@@ -2343,9 +2343,9 @@ These are config files for .config/hypr
-
-

.config/hypr/bindings.conf

-
+
+

.config/hypr/bindings.conf

+

These are config files for .config/hypr

@@ -2508,9 +2508,9 @@ bind = $mainMod, W, exec, zen
-
-

.config/hypr/exec-once.conf

-
+
+

.config/hypr/exec-once.conf

+

These are config files for .config/hypr

@@ -2526,9 +2526,9 @@ exec-once = sh ~/Wallpapers/scripts/wallpaper.sh &
-
-

.config/hypr/hypridle.conf

-
+
+

.config/hypr/hypridle.conf

+

These are config files for .config/hypr

@@ -2553,9 +2553,9 @@ listener {
-
-

.config/hypr/hyprland.conf

-
+
+

.config/hypr/hyprland.conf

+

These are config files for .config/hypr

@@ -2602,9 +2602,9 @@ misc {
-
-

.config/hypr/hyprlock.conf

-
+
+

.config/hypr/hyprlock.conf

+

These are config files for .config/hypr

@@ -2645,9 +2645,9 @@ label {
-
-

.config/hypr/layer-rules.conf

-
+
+

.config/hypr/layer-rules.conf

+

These are config files for .config/hypr

@@ -2662,9 +2662,9 @@ layerrule = blur on, ignore_alpha 1, match:namespace swaync-notification-window
-
-

.config/hypr/layout.conf

-
+
+

.config/hypr/layout.conf

+

These are config files for .config/hypr

@@ -2674,9 +2674,9 @@ These are config files for .config/hypr
-
-

.config/hypr/monitor-rules.conf

-
+
+

.config/hypr/monitor-rules.conf

+

These are config files for .config/hypr

@@ -2687,9 +2687,9 @@ monitor=DP-1,3840x1080@144,1920x0,1
-
-

.config/hypr/scripts/layout-selector.sh

-
+
+

.config/hypr/scripts/layout-selector.sh

+

These are config files for .config/hypr/scripts

@@ -2732,9 +2732,9 @@ hyprctl dispatch oSD "Layout: $LAYOUT_NAME" 2000
-
-

.config/hypr/theming.css

-
+
+

.config/hypr/theming.css

+

These are config files for .config/hypr

@@ -2783,9 +2783,9 @@ decoration {
-
-

.config/hypr/window-rules.conf

-
+
+

.config/hypr/window-rules.conf

+

These are config files for .config/hypr

@@ -2823,9 +2823,9 @@ windowrule {
-
-

.config/hypr/workspace-rules.conf

-
+
+

.config/hypr/workspace-rules.conf

+

These are config files for .config/hypr

@@ -2851,9 +2851,9 @@ workspace = 10
-
-

generated/modules/traveldroid/desktop/wallpaper.nix

-
+
+

generated/modules/traveldroid/desktop/wallpaper.nix

+

Setting up wallpaper engine + wallpaper gui

@@ -2952,9 +2952,9 @@ in
-
-

generated/modules/traveldroid/desktop/stylix.nix

-
+
+

generated/modules/traveldroid/desktop/stylix.nix

+
{ lib, config, pkgs, flakeRoot, stylix, ... }:
 
@@ -3041,9 +3041,9 @@ in
 
-
-

.config/stylix/stylix.conf

-
+
+

.config/stylix/stylix.conf

+

These are config files for .config/stylix

@@ -3080,9 +3080,9 @@ icons = {
-
-

.config/stylix/palette.json

-
+
+

.config/stylix/palette.json

+

These are config files for .config/stylix

@@ -3112,9 +3112,9 @@ These are config files for .config/stylix
-
-

.config/stylix/palette.html

-
+
+

.config/stylix/palette.html

+

These are config files for .config/stylix

@@ -3192,9 +3192,9 @@ These are config files for .config/stylix
-
-

generated/modules/traveldroid/desktop/waybar.nix

-
+
+

generated/modules/traveldroid/desktop/waybar.nix

+

This file installs and configures waybar

@@ -3260,9 +3260,9 @@ in
-
-

.config/waybar/config

-
+
+

.config/waybar/config

+

These are config files for waybar

@@ -3275,11 +3275,11 @@ These are config files for waybar "modules-left": ["hyprland/workspaces",], "modules-center": [ - "group/myworkspaces", "custom/spacer", "group/connections", "custom/spacer", "group/hardware" + "custom/spacer" ], @@ -3295,27 +3295,6 @@ These are config files for waybar "tooltip": false }, - /*******************************************************************/ - "group/myworkspaces": { - "class": "pill", - "orientation": "horizontal", - "drawer": { - "transition-duration": 500, - "transition-left-to-right": true - }, - "modules": [ - "custom/myworkspaces-anchor", - "hyprland/workspaces", - "custom/hypr-workspaces" - ] - }, - - "custom/myworkspaces-anchor": { - "format": "WS", - "tooltip": false - }, - - /*******************************************************************/ "group/hardware": { "class": "pill", @@ -3326,7 +3305,6 @@ These are config files for waybar }, "modules": [ "custom/hardware-anchor", - /*"pulseaudio",*/ "battery", "cpu", "memory", @@ -3352,7 +3330,6 @@ These are config files for waybar "modules": [ "custom/connections-anchor", "custom/bluetooth", - "pulseaudio", "network" ] }, @@ -3365,10 +3342,12 @@ These are config files for waybar /*******************************************************************/ "hyprland/workspaces": { - "format": "{icon}", - "format-icons": { - "default": "", - "active": "" + "format": "{text}", + "exec": "~/.config/waybar/scripts/hypr-workspaces.sh", + "interval": 2, + "return-type": "json", + "on-click": "~/.config/waybar/scripts/hypr-workspacesmenu.sh", + "tooltip": true }, "persistent-workspaces": { "*": 2 @@ -3378,14 +3357,7 @@ These are config files for waybar "show-special": true }, - "custom/hypr-workspaces": { - "format": "{text}", - "exec": "~/.config/waybar/scripts/hypr-workspaces.sh", - "interval": 2, - "return-type": "json", - "on-click": "~/.config/waybar/scripts/hypr-workspacesmenu.sh", - "tooltip": true - }, + "custom/bluetooth": { "exec": "~/.config/waybar/scripts/bluetooth-status.sh", @@ -3493,9 +3465,9 @@ These are config files for waybar
-
-

.config/waybar/style.css

-
+
+

.config/waybar/style.css

+

This file contains all css for waybar

@@ -3574,7 +3546,7 @@ window#waybar { color: @text; border-radius: 10px; font-weight: bold; - border: 1px solid @teal; + border: 2px solid @teal; background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)) padding-box, linear-gradient(45deg, @blue, @green) border-box; @@ -3667,9 +3639,9 @@ workspaces button.active {
-
-

.config/waybar/scripts/bluetooth-status.sh

-
+
+

.config/waybar/scripts/bluetooth-status.sh

+

These are config files for waybar

@@ -3695,9 +3667,9 @@ printf '{"text": "%s", "tooltip": "%s"}\n' "$icon" "$tooltip"
-
-

.config/waybar/scripts/hypr-workspaces.sh

-
+
+

.config/waybar/scripts/hypr-workspaces.sh

+

These are config files for waybar

@@ -3727,9 +3699,9 @@ jq -c -n \
-
-

.config/waybar/scripts/hypr-workspacesmenu.sh

-
+
+

.config/waybar/scripts/hypr-workspacesmenu.sh

+

These are config files for waybar

@@ -3746,9 +3718,9 @@ hyprctl dispatch focuswindow address:$addr
-
-

.config/waypaper/config.ini

-
+
+

.config/waypaper/config.ini

+

These are config files for waypaper

@@ -3785,9 +3757,9 @@ keybindings = ~/.config/waypaper/keybindings.ini
-
-

generated/modules/traveldroid/desktop/wayland.nix

-
+
+

generated/modules/traveldroid/desktop/wayland.nix

+
{ lib, config, pkgs, ... }:
 
@@ -3817,9 +3789,9 @@ keybindings = ~/.config/waypaper/keybindings.ini
 
-
-

generated/modules/traveldroid/desktop/xdg.nix

-
+
+

generated/modules/traveldroid/desktop/xdg.nix

+

This sets the XDG implementation

@@ -3873,13 +3845,13 @@ in
-
-

generated/modules/traveldroid/system

-
+
+

generated/modules/traveldroid/system

+
-
-

generated/modules/traveldroid/system/audio.nix

-
+
+

generated/modules/traveldroid/system/audio.nix

+
{ lib, config, pkgs, ... }:
 
@@ -3897,9 +3869,9 @@ in
 
-
-

generated/modules/traveldroid/system/bluetooth.nix

-
+
+

generated/modules/traveldroid/system/bluetooth.nix

+
{ lib, config, pkgs, home-manager, ... }:
 
@@ -3920,9 +3892,9 @@ in
 
-
-

generated/modules/traveldroid/system/dbus.nix

-
+
+

generated/modules/traveldroid/system/dbus.nix

+

This sets the dbus implementation

@@ -3949,9 +3921,9 @@ This sets the dbus implementation
-
-

generated/modules/traveldroid/system/login-tuigreet.nix

-
+
+

generated/modules/traveldroid/system/login-tuigreet.nix

+

This sets up tuigreeter which is not fancy but imo fits the aesthetic I am aiming for

@@ -4005,9 +3977,9 @@ in
-
-

generated/modules/traveldroid/system/networking.nix

-
+
+

generated/modules/traveldroid/system/networking.nix

+

This sets the networking.

@@ -4070,9 +4042,9 @@ This sets the networking.
-
-

generated/modules/traveldroid/system/nix.nix

-
+
+

generated/modules/traveldroid/system/nix.nix

+
{ lib, config, ... }:
 
@@ -4088,9 +4060,9 @@ This sets the networking.
 
-
-

generated/modules/traveldroid/system/printing.nix

-
+
+

generated/modules/traveldroid/system/printing.nix

+

This sets the dbus implementation

@@ -4115,13 +4087,13 @@ This sets the dbus implementation
-
-

generated/users

-
+
+

generated/users

+
-
-

generated/users/henrov.nix

-
+
+

generated/users/henrov.nix

+

This is the default user, just search and replace henrov another name if you want to change

@@ -4179,9 +4151,9 @@ in

These are all the prepared config files

-
-

.config/waypaper/config.ini

-
+
+

.config/waypaper/config.ini

+

These are config files for .config/waypaper

@@ -4218,9 +4190,9 @@ keybindings = ~/.config/waypaper/keybindings.ini
-
-

.config/zed/settings.json

-
+
+

.config/zed/settings.json

+

These are config files for .config/zed

@@ -4260,7 +4232,7 @@ These are config files for .config/zed

Author: Henro Veijer

-

Created: 2026-04-05 zo 22:43

+

Created: 2026-04-05 zo 22:50

Validate

diff --git a/Droidnix/README.org b/Droidnix/README.org index 365a4455a..c17887c8d 100644 --- a/Droidnix/README.org +++ b/Droidnix/README.org @@ -2665,11 +2665,11 @@ These are config files for waybar "modules-left": ["hyprland/workspaces",], "modules-center": [ - "group/myworkspaces", "custom/spacer", "group/connections", "custom/spacer", "group/hardware" + "custom/spacer" ], @@ -2685,27 +2685,6 @@ These are config files for waybar "tooltip": false }, - /*******************************************************************/ - "group/myworkspaces": { - "class": "pill", - "orientation": "horizontal", - "drawer": { - "transition-duration": 500, - "transition-left-to-right": true - }, - "modules": [ - "custom/myworkspaces-anchor", - "hyprland/workspaces", - "custom/hypr-workspaces" - ] - }, - - "custom/myworkspaces-anchor": { - "format": "WS", - "tooltip": false - }, - - /*******************************************************************/ "group/hardware": { "class": "pill", @@ -2716,7 +2695,6 @@ These are config files for waybar }, "modules": [ "custom/hardware-anchor", - /*"pulseaudio",*/ "battery", "cpu", "memory", @@ -2742,7 +2720,6 @@ These are config files for waybar "modules": [ "custom/connections-anchor", "custom/bluetooth", - "pulseaudio", "network" ] }, @@ -2755,10 +2732,12 @@ These are config files for waybar /*******************************************************************/ "hyprland/workspaces": { - "format": "{icon}", - "format-icons": { - "default": "", - "active": "" + "format": "{text}", + "exec": "~/.config/waybar/scripts/hypr-workspaces.sh", + "interval": 2, + "return-type": "json", + "on-click": "~/.config/waybar/scripts/hypr-workspacesmenu.sh", + "tooltip": true }, "persistent-workspaces": { "*": 2 @@ -2768,14 +2747,7 @@ These are config files for waybar "show-special": true }, - "custom/hypr-workspaces": { - "format": "{text}", - "exec": "~/.config/waybar/scripts/hypr-workspaces.sh", - "interval": 2, - "return-type": "json", - "on-click": "~/.config/waybar/scripts/hypr-workspacesmenu.sh", - "tooltip": true - }, + "custom/bluetooth": { "exec": "~/.config/waybar/scripts/bluetooth-status.sh", @@ -2958,7 +2930,7 @@ window#waybar { color: @text; border-radius: 10px; font-weight: bold; - border: 1px solid @teal; + border: 2px solid @teal; background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)) padding-box, linear-gradient(45deg, @blue, @green) border-box; diff --git a/Droidnix/generated/.config/waybar/config b/Droidnix/generated/.config/waybar/config index 77db8da14..ca317b789 100644 --- a/Droidnix/generated/.config/waybar/config +++ b/Droidnix/generated/.config/waybar/config @@ -6,11 +6,11 @@ "modules-left": ["hyprland/workspaces",], "modules-center": [ - "group/myworkspaces", "custom/spacer", "group/connections", "custom/spacer", "group/hardware" + "custom/spacer" ], @@ -26,27 +26,6 @@ "tooltip": false }, - /*******************************************************************/ - "group/myworkspaces": { - "class": "pill", - "orientation": "horizontal", - "drawer": { - "transition-duration": 500, - "transition-left-to-right": true - }, - "modules": [ - "custom/myworkspaces-anchor", - "hyprland/workspaces", - "custom/hypr-workspaces" - ] - }, - - "custom/myworkspaces-anchor": { - "format": "WS", - "tooltip": false - }, - - /*******************************************************************/ "group/hardware": { "class": "pill", @@ -57,7 +36,6 @@ }, "modules": [ "custom/hardware-anchor", - /*"pulseaudio",*/ "battery", "cpu", "memory", @@ -83,7 +61,6 @@ "modules": [ "custom/connections-anchor", "custom/bluetooth", - "pulseaudio", "network" ] }, @@ -96,10 +73,12 @@ /*******************************************************************/ "hyprland/workspaces": { - "format": "{icon}", - "format-icons": { - "default": "", - "active": "" + "format": "{text}", + "exec": "~/.config/waybar/scripts/hypr-workspaces.sh", + "interval": 2, + "return-type": "json", + "on-click": "~/.config/waybar/scripts/hypr-workspacesmenu.sh", + "tooltip": true }, "persistent-workspaces": { "*": 2 @@ -109,14 +88,7 @@ "show-special": true }, - "custom/hypr-workspaces": { - "format": "{text}", - "exec": "~/.config/waybar/scripts/hypr-workspaces.sh", - "interval": 2, - "return-type": "json", - "on-click": "~/.config/waybar/scripts/hypr-workspacesmenu.sh", - "tooltip": true - }, + "custom/bluetooth": { "exec": "~/.config/waybar/scripts/bluetooth-status.sh", diff --git a/Droidnix/generated/.config/waybar/style.css b/Droidnix/generated/.config/waybar/style.css index b756462e2..a7efa08d4 100644 --- a/Droidnix/generated/.config/waybar/style.css +++ b/Droidnix/generated/.config/waybar/style.css @@ -72,7 +72,7 @@ window#waybar { color: @text; border-radius: 10px; font-weight: bold; - border: 1px solid @teal; + border: 2px solid @teal; background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)) padding-box, linear-gradient(45deg, @blue, @green) border-box;