You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trivernis 74bc42e5f0 | 3 months ago | |
---|---|---|
content | 3 months ago | |
hooks | 7 months ago | |
README.md | 9 months ago | |
nuenv.nu | 7 months ago | |
silo-utils.lua | 8 months ago | |
silo.config.lua | 3 months ago |
README.md
My Dotfiles
These are my dotfiles in a silo repo. Silo is a dotfile manager I've written that allows for config files
to be treated as handlebar templates when they end in .tmpl
. So the config files in these folders are
applied differently depending on the system and installed programs on the system.
Applying the configuration
Run
silo init https://git.trivernis.net/Trivernis/dotfiles-silo
to pull the repository into the default silo directory at ~/.local/share/silo
on Unix or ~/AppData/Roaming/silo
on Windows.
Now run
silo apply
To apply the configuration. If you're using nix
with home-manager
you need
to run silo apply
a second time because the newly installed packages (using the home-manager hook in ~/hooks/home-manager.nu
)
will change how the configuration is applied.
So on apply
this repo does
- Update the context variables in
~/.config/silo.toml
and prompts for input on required variables. - Renders the templates and moves the resulting configurations to the configured directories
- Runs
home-manager
to automatically install packages. Additionally deletes older hm-generations and clears the cache