dotfiles manager inspired by nixos home-manager
support for string interpolation into files
from.css
:root {
--foreground: #$#colors.foreground#;
}
home.js
import { Home, FImport } from "home-man";
new Home({
"./to.css": FImport("./from.css")
}, {
colors: {
foreground: "FFFFFF"
}
}).build()
after build to.css would look like this:
:root {
--foreground: #FFFFFF;
}
import { Home, Import } from "home-man";
new Home({
"./to.txt": new Import("./from.txt"),
}, {}).build();
// will symlink ./from.txt to ./to.txt
for npm
npm install home-man
for pnpm
pnpm add home-man
for bun
bun add home-man