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 33 additions and 4 deletions

No files matched your search

+5 -1
View File
@@ -37,6 +37,7 @@
ai-tools = {
claude-code.enable = true;
fabric.enable = true;
tirith.enable = true;
opencode.enable = true;
};
@@ -80,7 +81,10 @@
taskwarrior.enable = true;
terminal.enable = true;
infra.enable = true;
nodejs.enable = true;
nodejs = {
enable = true;
fnm.enable = true;
};
secrets.enable = true;
secrets.vault.enable = true;
ticketing.enable = true;
+1
View File
@@ -30,6 +30,7 @@ in
imports = [
./claude-code.nix
./fabric.nix
./opencode.nix
./skills.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") {
programs.firefox = {
enable = true;
configPath = "${config.xdg.configHome}/mozilla/firefox";
configPath = ".mozilla/firefox";
}
// (import ./firefox-base.nix {
inherit
+10 -2
View File
@@ -13,16 +13,24 @@ in
options.nodejs = {
enable = lib.mkEnableOption "Node.js";
package = lib.mkPackageOption pkgs "nodejs_24" { };
fnm.enable = lib.mkEnableOption "fnm";
};
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [
home.packages =
with pkgs;
[
cfg.package
pnpm
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 = {
inherit (cfg) enable package;