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:
1 parent
554a57d0e7
commit
514e3a7f62
3 files changed
+19
-11
No files matched your search
@@ -28,6 +28,11 @@
|
||||
enable = true;
|
||||
userServices = true;
|
||||
};
|
||||
# settings.publish = {
|
||||
# disable-publishing = false;
|
||||
# disable-user-service-publishing = false;
|
||||
# publish-adresses = true;
|
||||
# };
|
||||
};
|
||||
|
||||
ipp-usb.enable = true;
|
||||
|
||||
@@ -6,13 +6,19 @@
|
||||
}: {
|
||||
options.codex.enable = lib.mkEnableOption "Codex";
|
||||
|
||||
config.programs.codex = lib.mkIf config.codex.enable {
|
||||
enable = true;
|
||||
package = pkgs.codex;
|
||||
mutableSettings = true;
|
||||
# skills = {
|
||||
# beads = "${pkgs.beads.src}/plugins/beads/skills/beads";
|
||||
# };
|
||||
config = lib.mkIf config.codex.enable {
|
||||
home.packages = [
|
||||
pkgs.nodejs
|
||||
];
|
||||
|
||||
programs.codex = {
|
||||
enable = true;
|
||||
package = pkgs.codex;
|
||||
mutableSettings = true;
|
||||
# skills = {
|
||||
# beads = "${pkgs.beads.src}/plugins/beads/skills/beads";
|
||||
# };
|
||||
};
|
||||
};
|
||||
|
||||
imports = [
|
||||
|
||||
@@ -9,10 +9,7 @@
|
||||
config.programs.opencode = lib.mkIf config.opencode.enable {
|
||||
enable = true;
|
||||
package = pkgs.opencode;
|
||||
validateFiles = {
|
||||
config = true;
|
||||
tui = true;
|
||||
};
|
||||
validateFiles.config = true;
|
||||
};
|
||||
|
||||
imports = [
|
||||
|
||||
Reference in new issue
Block a user