Refactor home modules and update printing comments

Add placeholder publishing settings in printing module.

Refactor Codex module to add nodejs to home packages and nest the
program configuration under `config`. Simplify Opencode validation by
removing the TUI validation flag, keeping only `config`.
This commit is contained in:
GarandPLG committed 2026-10-23 11:58:15 +02:00
1 parent 554a57d0e7
commit 514e3a7f62
3 files changed
+19 -11

No files matched your search

+5
View File
@@ -28,6 +28,11 @@
enable = true; enable = true;
userServices = true; userServices = true;
}; };
# settings.publish = {
# disable-publishing = false;
# disable-user-service-publishing = false;
# publish-adresses = true;
# };
}; };
ipp-usb.enable = true; ipp-usb.enable = true;
+13 -7
View File
@@ -6,13 +6,19 @@
}: { }: {
options.codex.enable = lib.mkEnableOption "Codex"; options.codex.enable = lib.mkEnableOption "Codex";
config.programs.codex = lib.mkIf config.codex.enable { config = lib.mkIf config.codex.enable {
enable = true; home.packages = [
package = pkgs.codex; pkgs.nodejs
mutableSettings = true; ];
# skills = {
# beads = "${pkgs.beads.src}/plugins/beads/skills/beads"; programs.codex = {
# }; enable = true;
package = pkgs.codex;
mutableSettings = true;
# skills = {
# beads = "${pkgs.beads.src}/plugins/beads/skills/beads";
# };
};
}; };
imports = [ imports = [
+1 -4
View File
@@ -9,10 +9,7 @@
config.programs.opencode = lib.mkIf config.opencode.enable { config.programs.opencode = lib.mkIf config.opencode.enable {
enable = true; enable = true;
package = pkgs.opencode; package = pkgs.opencode;
validateFiles = { validateFiles.config = true;
config = true;
tui = true;
};
}; };
imports = [ imports = [