tombi: move to modules/coding/langs/toml.nix

This commit is contained in:
2026-06-19 21:57:46 +08:00
parent 84485d9e8a
commit 02953206f7
3 changed files with 23 additions and 2 deletions
+20
View File
@@ -0,0 +1,20 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.my.coding.langs.toml;
in
{
options.my.coding.langs.toml = {
enable = lib.mkEnableOption "TOML";
};
config = lib.mkIf cfg.enable {
my.hm.home.packages = with pkgs; [
tombi
];
};
}