From 0aa860615362661cb58a9ca919726d5a92056561 Mon Sep 17 00:00:00 2001 From: Christoph Schmatzler Date: Sun, 8 Mar 2026 16:24:24 +0000 Subject: [PATCH] up --- modules/ai-tools.nix | 3 ++- modules/defaults.nix | 22 ++++++++++++++++++++++ modules/overlays.nix | 6 ++++++ 3 files changed, 30 insertions(+), 1 deletion(-) diff --git a/modules/ai-tools.nix b/modules/ai-tools.nix index f36ed8f..e8723f2 100644 --- a/modules/ai-tools.nix +++ b/modules/ai-tools.nix @@ -51,7 +51,7 @@ }; home.shellAliases = { - noc = "nono run -s --allow-cwd --profile opencode --network-profile developer -- opencode"; + noc = "RUST_LOG=error nono -s wrap --allow-cwd --profile opencode -- opencode"; }; home.packages = [ @@ -85,6 +85,7 @@ builtins.toJSON { "$schema" = "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json"; disabled_skills = ["playwright" "dev-browser" "git-master"]; + disabled_hooks = ["keyword-detector"]; git_master = { commit_footer = false; include_co_authored_by = false; diff --git a/modules/defaults.nix b/modules/defaults.nix index 0bcb1e0..6381990 100644 --- a/modules/defaults.nix +++ b/modules/defaults.nix @@ -14,9 +14,31 @@ type = lib.types.lazyAttrsOf lib.types.raw; default = {}; }; + flakeModules = + lib.mkOption { + type = lib.types.lazyAttrsOf lib.types.raw; + default = {}; + }; }; config = { + flake.flakeModules = { + ai-tools = ./ai-tools.nix; + atuin = ./atuin.nix; + core = ./core.nix; + desktop = ./desktop.nix; + dev-tools = ./dev-tools.nix; + email = ./email.nix; + neovim = ./neovim.nix; + network = ./network.nix; + nixos-system = ./nixos-system.nix; + shell = ./shell.nix; + ssh-client = ./ssh-client.nix; + terminal = ./terminal.nix; + user = ./user.nix; + zellij = ./zellij.nix; + zk = ./zk.nix; + }; den.default.nixos.system.stateVersion = "25.11"; den.default.darwin.system.stateVersion = 6; den.default.homeManager.home.stateVersion = "25.11"; diff --git a/modules/overlays.nix b/modules/overlays.nix index b363e89..19db674 100644 --- a/modules/overlays.nix +++ b/modules/overlays.nix @@ -50,4 +50,10 @@ in { den.default.nixos.nixpkgs.overlays = overlays; den.default.darwin.nixpkgs.overlays = overlays; + + flake.overlays.default = final: prev: + builtins.foldl' ( + acc: overlay: acc // (overlay final (prev // acc)) + ) {} + overlays; }