fix(nix): the nix files read the final directories

The pure moves put the KDE and macOS nix files under nix/linux and nix/macos but left the
relative paths they read: the JSON schema (now schemas/linux and schemas/macos), the example
configurations and key binding samples (docs/linux, docs/macos), the key binding fixtures
(komorebi-hotkeys at the top level), the wsl2 probe script (scripts/linux). Each path now
names the file in the final directory, one more directory up because the files are one level
deeper.

Not touched: flake.nix and the nested flakes (next revisions), which still name the old paths.

Verified: not verified (nothing evaluates until the flake is rewritten; the new flake checks
these paths).
This commit is contained in:
LGUG2Z committed 2026-11-05 15:03:27 -08:00
1 parent bf300de007
commit 05698a34ba
12 files changed
+21 -21

No files matched your search

+3 -3
View File
@@ -65,7 +65,7 @@ let
skhd's format. The repository is mounted at /repo: edit komorebi there and
build it in this machine with `cargo`.
${builtins.readFile ../../docs/skhdrc.sample}
${builtins.readFile ../../../docs/linux/skhdrc.sample}
'';
# the file the module starts the daemon with, which is the `--config` of its command line, and
@@ -83,7 +83,7 @@ let
}
{
name = "skhdrc";
path = ../../docs/skhdrc.sample;
path = ../../../docs/linux/skhdrc.sample;
}
];
@@ -271,7 +271,7 @@ in
# the module's default mode, with the sample bindings of docs/skhdrc.sample
keybindings = {
format = "skhd";
file = ../../docs/skhdrc.sample;
file = ../../../docs/linux/skhdrc.sample;
};
};
+1 -1
View File
@@ -104,7 +104,7 @@ let
text = ''
export WSL2_PROBE_GUEST=${guest}
export WSL2_PROBE_REV=${rev}
${builtins.readFile ../../scripts/wsl2-probe.sh}
${builtins.readFile ../../../scripts/linux/wsl2-probe.sh}
'';
meta = {
description = "Probes a NixOS-WSL2 machine for KVM, WSLg, a GPU and RDP, for a Plasma guest";