Home Manager: Difference between revisions

imported>Makefu
add FAQ
imported>Asymmetric
use xdg.configFile instead of home.file
Line 48: Line 48:
Even for programs for which Home Manager doesn't have configuration options, you can use it to manage your dotfiles, e.g.
Even for programs for which Home Manager doesn't have configuration options, you can use it to manage your dotfiles, e.g.
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
   home.file.".config/i3blocks/config".source = "${my-dotfile-dir}/i3blocks.conf"
   xdg.configFile."i3blocks/config".source = "${my-dotfile-dir}/i3blocks.conf"
</syntaxhighlight>
</syntaxhighlight>