Compare commits

..
3 Commits
Author SHA1 Message Date
hektor b77421066b feat(nodejs): add fnm node version manager
check / lint (push) Successful in 16s
2026-10-07 21:43:27 +02:00
hektor 0fd329e1ec feat(ai-tools): add fabric 2026-10-07 21:43:27 +02:00
hektor a5c5621cae fix(firefox): update 'configPath' 2026-10-07 21:43:27 +02:00
5 changed files with 38 additions and 9 deletions

No files matched your search

+5 -1
View File
@@ -37,6 +37,7 @@
ai-tools = { ai-tools = {
claude-code.enable = true; claude-code.enable = true;
fabric.enable = true;
tirith.enable = true; tirith.enable = true;
opencode.enable = true; opencode.enable = true;
}; };
@@ -80,7 +81,10 @@
taskwarrior.enable = true; taskwarrior.enable = true;
terminal.enable = true; terminal.enable = true;
infra.enable = true; infra.enable = true;
nodejs.enable = true; nodejs = {
enable = true;
fnm.enable = true;
};
secrets.enable = true; secrets.enable = true;
secrets.vault.enable = true; secrets.vault.enable = true;
ticketing.enable = true; ticketing.enable = true;
+1
View File
@@ -30,6 +30,7 @@ in
imports = [ imports = [
./claude-code.nix ./claude-code.nix
./fabric.nix
./opencode.nix ./opencode.nix
./skills.nix ./skills.nix
./tirith.nix ./tirith.nix
+16
View File
@@ -0,0 +1,16 @@
{
lib,
config,
pkgs,
...
}:
{
options.ai-tools.fabric = {
enable = lib.mkEnableOption "fabric";
};
config = lib.mkIf config.ai-tools.fabric.enable {
home.packages = [ pkgs.fabric-ai ];
};
}
+1 -1
View File
@@ -10,7 +10,7 @@
config = lib.mkIf (config.browser.primary == "firefox" || config.browser.secondary == "firefox") { config = lib.mkIf (config.browser.primary == "firefox" || config.browser.secondary == "firefox") {
programs.firefox = { programs.firefox = {
enable = true; enable = true;
configPath = "${config.xdg.configHome}/mozilla/firefox"; configPath = ".mozilla/firefox";
} }
// (import ./firefox-base.nix { // (import ./firefox-base.nix {
inherit inherit
+15 -7
View File
@@ -13,16 +13,24 @@ in
options.nodejs = { options.nodejs = {
enable = lib.mkEnableOption "Node.js"; enable = lib.mkEnableOption "Node.js";
package = lib.mkPackageOption pkgs "nodejs_24" { }; package = lib.mkPackageOption pkgs "nodejs_24" { };
fnm.enable = lib.mkEnableOption "fnm";
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
home.packages = with pkgs; [ home.packages =
cfg.package with pkgs;
pnpm [
yarn cfg.package
biome pnpm
tsx yarn
]; biome
tsx
]
++ lib.optional cfg.fnm.enable fnm;
programs.bash.initExtra = lib.mkIf cfg.fnm.enable ''
eval "$(fnm env --use-on-cd --shell bash)"
'';
programs.npm = { programs.npm = {
inherit (cfg) enable package; inherit (cfg) enable package;