HASH a4e24f4c5afc
DATE 2025-09-08
SUBJECT console: add codex module
FILES 3 CHANGED
HASH a4e24f4c5afc
DATE 2025-09-08
SUBJECT console: add codex module
FILES 3 CHANGED
┌─ modules/home/console/tools/codex.nix ─────────────────────────────────────┐
│ diff --git a/modules/home/console/tools/codex.nix b/modules/home/console/tools/cod │
│ ex.nix │
│ new file mode 100644 │
│ index 0000000..c1cb435 │
│ --- /dev/null │
│ +++ b/modules/home/console/tools/codex.nix │
│ @@ -0,0 +1,14 @@ │
│ +{ │
│ + lib, │
│ + osConfig, │
│ + ... │
│ +}: let │
│ + inherit (lib) mkIf; │
│ + cfg = osConfig.ooknet.console.tools.codex; │
│ +in { │
│ + config = mkIf cfg.enable { │
│ + programs.codex = { │
│ + enable = true; │
│ + }; │
│ + }; │
│ +} │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ .../home/console/tools/codex.nix ───┐
│ diff --git a/modules/home/console/tools/code │
│ x.nix b/modules/home/console/tools/codex.nix │
│ new file mode 100644 │
│ index 0000000..c1cb435 │
│ --- /dev/null │
│ +++ b/modules/home/console/tools/codex.nix │
│ @@ -0,0 +1,14 @@ │
│ +{ │
│ + lib, │
│ + osConfig, │
│ + ... │
│ +}: let │
│ + inherit (lib) mkIf; │
│ + cfg = osConfig.ooknet.console.tools.codex │
│ ; │
│ +in { │
│ + config = mkIf cfg.enable { │
│ + programs.codex = { │
│ + enable = true; │
│ + }; │
│ + }; │
│ +} │
└──────────────────────────────────────────────┘
┌─ modules/home/console/tools/default.nix ───────────────────────────────────┐
│ diff --git a/modules/home/console/tools/default.nix b/modules/home/console/tools/d │
│ efault.nix │
│ index 63c742c..6bdac39 100644 │
│ --- a/modules/home/console/tools/default.nix │
│ +++ b/modules/home/console/tools/default.nix │
│ @@ -1,5 +1,6 @@ │
│ { │
│ imports = [ │
│ + ./codex.nix │
│ ./bat.nix │
│ ./vale.nix │
│ ./networking.nix │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ ...ome/console/tools/default.nix ───┐
│ diff --git a/modules/home/console/tools/defa │
│ ult.nix b/modules/home/console/tools/default │
│ .nix │
│ index 63c742c..6bdac39 100644 │
│ --- a/modules/home/console/tools/default.nix │
│ +++ b/modules/home/console/tools/default.nix │
│ @@ -1,5 +1,6 @@ │
│ { │
│ imports = [ │
│ + ./codex.nix │
│ ./bat.nix │
│ ./vale.nix │
│ ./networking.nix │
└──────────────────────────────────────────────┘
┌─ modules/home/console/tools/nixIndex.nix ──────────────────────────────────┐
│ diff --git a/modules/home/console/tools/nixIndex.nix b/modules/home/console/tools/ │
│ nixIndex.nix │
│ index 7557480..cdb3877 100644 │
│ --- a/modules/home/console/tools/nixIndex.nix │
│ +++ b/modules/home/console/tools/nixIndex.nix │
│ @@ -7,7 +7,7 @@ │
│ inherit (lib) mkIf; │
│ cfg = osConfig.ooknet.console.tools.nixIndex; │
│ in { │
│ - imports = [inputs.nix-index-db.hmModules.nix-index]; │
│ + imports = [inputs.nix-index-db.homeModules.nix-index]; │
│ config = mkIf cfg.enable { │
│ programs = { │
│ nix-index = { │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ ...me/console/tools/nixIndex.nix ───┐
│ diff --git a/modules/home/console/tools/nixI │
│ ndex.nix b/modules/home/console/tools/nixInd │
│ ex.nix │
│ index 7557480..cdb3877 100644 │
│ --- a/modules/home/console/tools/nixIndex.ni │
│ x │
│ +++ b/modules/home/console/tools/nixIndex.ni │
│ x │
│ @@ -7,7 +7,7 @@ │
│ inherit (lib) mkIf; │
│ cfg = osConfig.ooknet.console.tools.nixIn │
│ dex; │
│ in { │
│ - imports = [inputs.nix-index-db.hmModules. │
│ nix-index]; │
│ + imports = [inputs.nix-index-db.homeModule │
│ s.nix-index]; │
│ config = mkIf cfg.enable { │
│ programs = { │
│ nix-index = { │
└──────────────────────────────────────────────┘
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET