nix

configuration files that power my machines
Log | Files | Refs | README | LICENSE

commit 598d6b7f290ba6bd9dd649ee3d9b73142a59082f
parent dff36bffbac1b0be5ab52ed15cb28387fccb7cf5
Author: mtmn <miro@haravara.org>
Date:   Sat,  9 May 2026 04:21:10 +0200

feat: rename wsl to bbox

Diffstat:
MREADME.md | 10+++++-----
Mhosts.nix | 7+++----
Rhosts/wsl/default.nix -> hosts/bbox/default.nix | 0
Rhosts/wsl/overlays/config/ghostty/config -> hosts/bbox/overlays/config/ghostty/config | 0
Ahosts/bbox/overlays/config/magdalena/config.json.nix | 73+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Rhosts/wsl/overlays/default.nix -> hosts/bbox/overlays/default.nix | 0
Dhosts/wsl/overlays/config/magdalena/config.json.nix | 73-------------------------------------------------------------------------
7 files changed, 81 insertions(+), 82 deletions(-)

diff --git a/README.md b/README.md @@ -4,16 +4,16 @@ NixOS and home-manager configurations for multiple systems. ## Structure -- **`hosts/`** - Machine-specific configurations (nixaran, void, proton, work, wsl) -- **`modules/`** - Reusable modules: - - **`services/`** - Service definitions (Forgejo, Matrix, Caddy, etc.) - - **`mixins/`** - Shared dotfiles and user configurations +* **`hosts/`** - Machine-specific configurations +* **`modules/`** - Reusable modules: + * **`services/`** - Service definitions + * **`mixins/`** - Shared dotfiles and user configurations ## Usage Commands are typically run via [just](https://github.com/casey/just), which wraps: -```bash +```sh # Validate flake nix flake check diff --git a/hosts.nix b/hosts.nix @@ -12,10 +12,9 @@ nixos = true; disko = true; }; - DESKTOP-0A5N7UT = { + bbox = { system = "x86_64-linux"; - hostname = "DESKTOP-0A5N7UT"; - hostDir = "wsl"; + hostDir = "bbox"; }; SK-M4KCG42FV9 = { system = "aarch64-darwin"; @@ -34,7 +33,7 @@ configs = { void = {}; proton = {}; - DESKTOP-0A5N7UT = {}; + bbox = {}; SK-M4KCG42FV9 = {}; }; }; diff --git a/hosts/wsl/default.nix b/hosts/bbox/default.nix diff --git a/hosts/wsl/overlays/config/ghostty/config b/hosts/bbox/overlays/config/ghostty/config diff --git a/hosts/bbox/overlays/config/magdalena/config.json.nix b/hosts/bbox/overlays/config/magdalena/config.json.nix @@ -0,0 +1,73 @@ +{homeDir, ...}: '' + { + "editor": "nvim", + "max_depth": 5, + "ignored_patterns": [ + ".git", + ".jj", + ".zig-cache", + "target", + "vendor", + "node_modules", + "composer.lock", + "deps", + "_build", + ".expert", + ".nix-data", + ".crush", + ".gemini", + ".qwen", + "saturn" + ], + "fzf_opts": [ + "--highlight-line", + "--ansi", + "--layout=reverse", + "--border=rounded", + "--color=bg+:#2a1f2e,bg:-1,spinner:#c084b8,hl:#e08060", + "--color=fg:#c8b8bf,header:#c4607a,info:#7a6e7a,pointer:#c084b8", + "--color=marker:#e06fad,fg+:#f0dfe5,prompt:#7a9fd4,hl+:#f0a070", + "--color=border:#3d2a42" + ], + "fav_dirs": [ + "${homeDir}/src", + "${homeDir}/src/nix", + "${homeDir}/src/napkins", + "${homeDir}/src/nix/hosts/bbox", + "${homeDir}/src/nix/modules/mixins/dotfiles", + "${homeDir}/src/tools", + "${homeDir}/misc", + "${homeDir}/misc/llm", + "${homeDir}/misc/random", + "${homeDir}/Downloads", + "${homeDir}/.tmux" + ], + "openers": [ + { + "extensions": ["mp4", "mkv", "avi", "webm"], + "action": "media_player", + "command": "mpv" + }, + { + "extensions": ["flac", "aiff", "aif", "mp3", "wav"], + "action": "audio_player", + "command": "mpv" + }, + { + "extensions": ["jpg", "jpeg", "png", "webp", "svg"], + "action": "image_viewer", + "command": "nsxiv-rifle" + }, + { + "extensions": ["pdf", "epub", "mobi"], + "action": "document_reader", + "command": "sioyek" + }, + { + "extensions": ["html"], + "action": "web_browser", + "command": "offpunk" + } + ] + } +'' diff --git a/hosts/wsl/overlays/default.nix b/hosts/bbox/overlays/default.nix diff --git a/hosts/wsl/overlays/config/magdalena/config.json.nix b/hosts/wsl/overlays/config/magdalena/config.json.nix @@ -1,73 +0,0 @@ -{homeDir, ...}: '' - { - "editor": "nvim", - "max_depth": 5, - "ignored_patterns": [ - ".git", - ".jj", - ".zig-cache", - "target", - "vendor", - "node_modules", - "composer.lock", - "deps", - "_build", - ".expert", - ".nix-data", - ".crush", - ".gemini", - ".qwen", - "saturn" - ], - "fzf_opts": [ - "--highlight-line", - "--ansi", - "--layout=reverse", - "--border=rounded", - "--color=bg+:#2a1f2e,bg:-1,spinner:#c084b8,hl:#e08060", - "--color=fg:#c8b8bf,header:#c4607a,info:#7a6e7a,pointer:#c084b8", - "--color=marker:#e06fad,fg+:#f0dfe5,prompt:#7a9fd4,hl+:#f0a070", - "--color=border:#3d2a42" - ], - "fav_dirs": [ - "${homeDir}/src", - "${homeDir}/src/nix", - "${homeDir}/src/napkins", - "${homeDir}/src/nix/hosts/wsl", - "${homeDir}/src/nix/modules/mixins/dotfiles", - "${homeDir}/src/tools", - "${homeDir}/misc", - "${homeDir}/misc/llm", - "${homeDir}/misc/random", - "${homeDir}/Downloads", - "${homeDir}/.tmux" - ], - "openers": [ - { - "extensions": ["mp4", "mkv", "avi", "webm"], - "action": "media_player", - "command": "mpv" - }, - { - "extensions": ["flac", "aiff", "aif", "mp3", "wav"], - "action": "audio_player", - "command": "mpv" - }, - { - "extensions": ["jpg", "jpeg", "png", "webp", "svg"], - "action": "image_viewer", - "command": "nsxiv-rifle" - }, - { - "extensions": ["pdf", "epub", "mobi"], - "action": "document_reader", - "command": "sioyek" - }, - { - "extensions": ["html"], - "action": "web_browser", - "command": "offpunk" - } - ] - } -''