From 79fea669c00fcbfd1fdc04afa412e9d981110a33 Mon Sep 17 00:00:00 2001 From: hektor Date: Tue, 29 Sep 2026 00:45:27 +0200 Subject: [PATCH] refactor(keyboard): nixify 'vortex-core' directory --- dots/.vortex-core/README.md | 19 ------------------ home/modules/keyboard/default.nix | 16 +++++++++++++++ home/modules/keyboard/vortex-core/README.md | 19 ++++++++++++++++++ .../modules/keyboard/vortex-core}/l0.png | Bin .../modules/keyboard/vortex-core}/l1.png | Bin .../modules/keyboard/vortex-core}/layout.cys | Bin .../modules/keyboard/vortex-core}/layout.txt | 0 7 files changed, 35 insertions(+), 19 deletions(-) delete mode 100644 dots/.vortex-core/README.md create mode 100644 home/modules/keyboard/default.nix create mode 100644 home/modules/keyboard/vortex-core/README.md rename {dots/.vortex-core => home/modules/keyboard/vortex-core}/l0.png (100%) rename {dots/.vortex-core => home/modules/keyboard/vortex-core}/l1.png (100%) rename {dots/.vortex-core => home/modules/keyboard/vortex-core}/layout.cys (100%) rename {dots/.vortex-core => home/modules/keyboard/vortex-core}/layout.txt (100%) diff --git a/dots/.vortex-core/README.md b/dots/.vortex-core/README.md deleted file mode 100644 index 5bf4ef2..0000000 --- a/dots/.vortex-core/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Keyboard configuration - -Keyboard configuration for the Vortex Core 40% keyboard. - -Generated using [TsFreddie's MPC tool](https://tsdo.in/much-programming-core/). - -Note: this is assuming `Caps lock` is remapped to `Esc` on press and `Ctrl` on hold (e.g. using `caps2esc`). - -## Layer 0 - -Macros are mainly used for shift, ctrl & alt modifiers. - -![](l0.png) - -## Layer 1 - -Lighting configuration layer with some macros for workspaces. - -![](l1.png) diff --git a/home/modules/keyboard/default.nix b/home/modules/keyboard/default.nix new file mode 100644 index 0000000..9685e7b --- /dev/null +++ b/home/modules/keyboard/default.nix @@ -0,0 +1,16 @@ +{ + config, + lib, + ... +}: + +{ + options.keyboard.vortexCore.enable = lib.mkEnableOption "Vortex Core keyboard configuration files"; + + config = lib.mkIf config.keyboard.vortexCore.enable { + home.file.".vortex-core" = { + source = ./vortex-core; + recursive = true; + }; + }; +} diff --git a/home/modules/keyboard/vortex-core/README.md b/home/modules/keyboard/vortex-core/README.md new file mode 100644 index 0000000..fbed64d --- /dev/null +++ b/home/modules/keyboard/vortex-core/README.md @@ -0,0 +1,19 @@ +# keyboard + +keyboard configuration for a Vortex Core 40%, generated using [TsFreddie's MPC +tool](https://tsdo.in/much-programming-core/). + +note: this is assuming `Caps lock` is remapped to `Esc` on press and `Ctrl` on +hold (e.g. using `caps2esc`). + +## layer 0 + +macros are mainly used for shift, ctrl & alt modifiers. + +![](l0.png) + +## layer 1 + +lighting configuration layer with some macros for workspaces. + +![](l1.png) diff --git a/dots/.vortex-core/l0.png b/home/modules/keyboard/vortex-core/l0.png similarity index 100% rename from dots/.vortex-core/l0.png rename to home/modules/keyboard/vortex-core/l0.png diff --git a/dots/.vortex-core/l1.png b/home/modules/keyboard/vortex-core/l1.png similarity index 100% rename from dots/.vortex-core/l1.png rename to home/modules/keyboard/vortex-core/l1.png diff --git a/dots/.vortex-core/layout.cys b/home/modules/keyboard/vortex-core/layout.cys similarity index 100% rename from dots/.vortex-core/layout.cys rename to home/modules/keyboard/vortex-core/layout.cys diff --git a/dots/.vortex-core/layout.txt b/home/modules/keyboard/vortex-core/layout.txt similarity index 100% rename from dots/.vortex-core/layout.txt rename to home/modules/keyboard/vortex-core/layout.txt