years back i've built a simple custom dotfiles manager myself in ruby using erb templates and ansible playbook. don't have to maintain that anymore, this is a perfect find for me!
last few months i was so frustrated by my aliases being constantly out of sync...finally time to rework on my 2015 totally out of date dotfiles repo! really solid and easy to update workflow, thx for sharing :)
Amazing video! Basically a lite version of Nix but without the hassle of daily driving NixOS :) Have you looked in to using stow instead of chezmoi for the dotfile managing part?
I originally played around with Stow, but I really liked the triggers that chezmoi came with. Though incidentally I joined the dark side and have gone all in on NixOS 😅
Finally I found a proper explanation of how to integrate chezmoi with ansible, unfortunately I'm to "slow or simple" to figure it out by myself, but now I've the starting point I searched/waited for. - Thank you very much. -> My plan to roll out against new installs of Mac(s), VMs.
Awesome, glad it helped! And don’t feel bad, this is probably like my 5th or 6th time building out a dotfiles repo and this is the first time it’s actually worked the way I wanted.
Just stumbled upon your video/channel in my recommendations. A: Very cool setup you have here, I think I'll be forking your repo and trying it myself shortly! You know, I could see this as a larger "profile manager" project if a community builds around it. Would be cool to have a script which helps you configure various items and generate a repo like this to enable easier adoption and maintenance for example... There may be better existing profile/config management solutions which I'm not aware of, but otherwise this would be a great start towards a product around it. I'd be interested in contributing to something like which I could use for my own purposes too. B: Nice production quality on your videos man. You've got style, well-thought out content, and a great voice for this kind of thing. Subscribed and will be checking out more of your content for sure. Keep it up, I reckon more people will join soon with this kind of content.
Hey Bryan, thanks, that means a lot! And that is a good idea. Will need to think about what that could look like. My immediate thought is it could scaffold out a new repo with the necessary setup scripts that are system agnostic, so it would setup ansible and whatever else on different linux distros and mac. And then depending on which systems you plan on using, it can scaffold out an ansible playbook (or maybe separate playbooks per system type) that can be a starting point for whatever you want. And for each of those playbooks, it would have the onchange scripts for chezmoi hooked up. I'll need to do some more thinking, but that could be a fun project. If I do end up doing that, I'd definitely be happy for some collaboration. And I had been slacking this past year on videos, but I'm getting back into it and have a bunch planned.
Have you tried using this for UI config too, for example for GNOME or KDE settings, VS Code settings, etc? I've done something similar for regular dotfiles (like shell config) but I want to keep UI config in sync too.
The only challenge I’ve run into is that some UI tools don’t have a great file/cli based config interface. Like with GNOME you’ll probably end up using dconf to dump the current config values and then use dconf load as part of the dot files automation to keep those changes in sync. But other UI tools will just use a config file you can edit, so those are easier to jump in the repo.
I'm still not sure what Ansible buys you. If i run chezmoi update it seems to detect changes, I think. I like all the run-once and roles that Ansible has, but if i run Chezmoi without it, what will i be missing?
Chezmoi is primarily a dotfile manager, so it doesn’t have any native way of installing applications, so that is where ansible comes in. I mean technically, if you wanted to, you could just use a shell script that runs your package manager to install your desired packages. But ansible just makes all that nicer.
Beautiful, I was looking for a tool to manage my dotfiles for month and every videos I watched didn't convince me... until now :^) I was using a git bare repo, but I find it tedious to maintain And now I can use a tool that has a french name, so... tant mieux comme ça je me sens un peu comme à la maison ;) A+, merci l'ami
I have been trying to find a good way to do this for YEARS. this is by fare the best solution i have come across. will done
Awesome, glad to hear it!
This was the only video I could find that actually demonstrated and explained the other features of chez- thank you!
I will have to play with this and compare it to my current stow process.
years back i've built a simple custom dotfiles manager myself in ruby using erb templates and ansible playbook. don't have to maintain that anymore, this is a perfect find for me!
last few months i was so frustrated by my aliases being constantly out of sync...finally time to rework on my 2015 totally out of date dotfiles repo! really solid and easy to update workflow, thx for sharing :)
Awesome, I hope the rework goes smoothly!
Love this. I'm a new Linux user and this has changed my life!
This video is great. I love your delivery and the content. Keep the videos coming!
Better explanation than any of the official docs. We'll done
This is definitely the best solution I’ve seen so far.
Amazing video! Basically a lite version of Nix but without the hassle of daily driving NixOS :) Have you looked in to using stow instead of chezmoi for the dotfile managing part?
I originally played around with Stow, but I really liked the triggers that chezmoi came with. Though incidentally I joined the dark side and have gone all in on NixOS 😅
Finally I found a proper explanation of how to integrate chezmoi with ansible, unfortunately I'm to "slow or simple" to figure it out by myself, but now I've the starting point I searched/waited for. - Thank you very much. -> My plan to roll out against new installs of Mac(s), VMs.
Awesome, glad it helped! And don’t feel bad, this is probably like my 5th or 6th time building out a dotfiles repo and this is the first time it’s actually worked the way I wanted.
I just have a small script that pulls a dotfiles repo, symlinks and the rest is shoved into distrobox!
Just stumbled upon your video/channel in my recommendations.
A: Very cool setup you have here, I think I'll be forking your repo and trying it myself shortly! You know, I could see this as a larger "profile manager" project if a community builds around it. Would be cool to have a script which helps you configure various items and generate a repo like this to enable easier adoption and maintenance for example... There may be better existing profile/config management solutions which I'm not aware of, but otherwise this would be a great start towards a product around it. I'd be interested in contributing to something like which I could use for my own purposes too.
B: Nice production quality on your videos man. You've got style, well-thought out content, and a great voice for this kind of thing. Subscribed and will be checking out more of your content for sure. Keep it up, I reckon more people will join soon with this kind of content.
Hey Bryan, thanks, that means a lot!
And that is a good idea. Will need to think about what that could look like. My immediate thought is it could scaffold out a new repo with the necessary setup scripts that are system agnostic, so it would setup ansible and whatever else on different linux distros and mac. And then depending on which systems you plan on using, it can scaffold out an ansible playbook (or maybe separate playbooks per system type) that can be a starting point for whatever you want. And for each of those playbooks, it would have the onchange scripts for chezmoi hooked up.
I'll need to do some more thinking, but that could be a fun project. If I do end up doing that, I'd definitely be happy for some collaboration.
And I had been slacking this past year on videos, but I'm getting back into it and have a bunch planned.
Omg I didn't even know this was possible but i had been wishing really really hard.
Have you tried using this for UI config too, for example for GNOME or KDE settings, VS Code settings, etc? I've done something similar for regular dotfiles (like shell config) but I want to keep UI config in sync too.
The only challenge I’ve run into is that some UI tools don’t have a great file/cli based config interface. Like with GNOME you’ll probably end up using dconf to dump the current config values and then use dconf load as part of the dot files automation to keep those changes in sync. But other UI tools will just use a config file you can edit, so those are easier to jump in the repo.
Idk why I didn't think to use ansible with my Chezmoi setup..... out with bash in with ansible!!
but chemoi does allows you to add files outside of Home Directory like fstab
I'm using the _git bare_ method and I'm pretty happy with it.
I am using gnu stow and for now is good enough. Chezmoi is better but at the moment is an overkill.
@@_Holy_Lance_I hate the symlink mess it creates
I'm still not sure what Ansible buys you. If i run chezmoi update it seems to detect changes, I think. I like all the run-once and roles that Ansible has, but if i run Chezmoi without it, what will i be missing?
Chezmoi is primarily a dotfile manager, so it doesn’t have any native way of installing applications, so that is where ansible comes in. I mean technically, if you wanted to, you could just use a shell script that runs your package manager to install your desired packages. But ansible just makes all that nicer.
I am pretty sure you are underutilized ansible and there might be netter software to automatically install software
Beautiful, I was looking for a tool to manage my dotfiles for month and every videos I watched didn't convince me... until now :^)
I was using a git bare repo, but I find it tedious to maintain
And now I can use a tool that has a french name, so... tant mieux comme ça je me sens un peu comme à la maison ;)
A+, merci l'ami
That is good to hear! And gotta love a project with a good name.
Jesus Christ, your videos are amazing!❤ PLS MORE!!
NixOS: "Am I a joke to u?"
For real Nix with a single flake, makes dotfiles so trivial.
Literally thought the same! Home manager is just so overpowered 😂
😳
Having to learn Nix language is holding me off for the moment..
@@malcolmkahora5318 Any resources that details how to do this? I already use nixos and home manager, but I don't use it to manage my dotfiles yet.
Wow!
What a nice thing to have
Agreed, it makes life way easier when you work across different machines
your voice is hella nice bro
and here i was thinking that gnu stow was a great solution
If all you need is to manage the dotfiles themselves stow is a solid option. But if you want to start getting fancy, I think chezmoi is a better pick.
@@CODE_IS_EVERYTHING honestly i think the key takeaway from this video for me was “i should learn ansible”
I used to use chezmoi but then i recreated my dotfiles from scratch without it using shell scripts and i might just switch to ansiblr
I ported almost everything to ansible, and i must say its pretty good, i like that i can run it however many times i want
Awesome, I'm glad to hear it. Having that idempotency is key for things like this where you'll run it over and over.
@@CODE_IS_EVERYTHING Only thing that is bugging me is a nice solution to automate my distrobox container
nice
Is that stock gnome?
Yeah it is. I’m a fan of the newer stock gnome, especially with the dark mode.
:) nothing beat nix....
The things nix can do is awesome, though in the past I spent too long getting nowhere with it lol
@@CODE_IS_EVERYTHING XD ya... fair...