Skip to content

Managing multiple configuration profiles #2976

Answered by halostatue
AdriandMartin asked this question in Q&A
Discussion options

You must be logged in to vote

chezmoi does not have the concept of "configuration profile" the way that dotdrop does, but it can make similar choices through the use of configuration variables and/or machine state (such as the OS name or even the presence of certain files).

dotdrop configuration is highly manual and indirect and requires specifying a managed dotfile at least twice (once for the initial "reference" definition, and once for each configuration profile to specify which references to use). I’ve only skimmed the README, but this should show what is required:

config:
  backup: true
  banner: true
  create: true
  dotpath: dotfiles
  ignoreempty: false
  keepdot: false
  longkey: false
  showdiff: false
  wor…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@AdriandMartin
Comment options

Comment options

You must be logged in to vote
2 replies
@halostatue
Comment options

@AdriandMartin
Comment options

Answer selected by AdriandMartin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants