The ultimate dotfiles setup

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 พ.ย. 2024

ความคิดเห็น • 65

  • @propbreakerfpv
    @propbreakerfpv 10 หลายเดือนก่อน +24

    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

  • @equu497
    @equu497 หลายเดือนก่อน

    This was the only video I could find that actually demonstrated and explained the other features of chez- thank you!

  • @danielstellmon5330
    @danielstellmon5330 11 หลายเดือนก่อน +4

    I will have to play with this and compare it to my current stow process.

  • @viktorhabchak470
    @viktorhabchak470 6 หลายเดือนก่อน +1

    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!

  • @unforkableonion5081
    @unforkableonion5081 11 หลายเดือนก่อน +8

    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 :)

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  11 หลายเดือนก่อน

      Awesome, I hope the rework goes smoothly!

  • @ZacMagee
    @ZacMagee 9 หลายเดือนก่อน +3

    Love this. I'm a new Linux user and this has changed my life!

  • @benmcnicholl
    @benmcnicholl 9 หลายเดือนก่อน +3

    This video is great. I love your delivery and the content. Keep the videos coming!

  • @Danielo515
    @Danielo515 10 หลายเดือนก่อน +1

    Better explanation than any of the official docs. We'll done

  • @psecretpseudonym4801
    @psecretpseudonym4801 7 หลายเดือนก่อน

    This is definitely the best solution I’ve seen so far.

  • @Peaky17
    @Peaky17 8 หลายเดือนก่อน +1

    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?

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  8 หลายเดือนก่อน

      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 😅

  • @Stefan-Streit
    @Stefan-Streit 11 หลายเดือนก่อน +2

    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.

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  11 หลายเดือนก่อน +1

      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.

  • @user-eg6nq7qt8c
    @user-eg6nq7qt8c 2 หลายเดือนก่อน

    I just have a small script that pulls a dotfiles repo, symlinks and the rest is shoved into distrobox!

  • @bryankruman
    @bryankruman 11 หลายเดือนก่อน +8

    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.

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  11 หลายเดือนก่อน +4

      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.

  • @TreeLuvBurdpu
    @TreeLuvBurdpu 10 หลายเดือนก่อน

    Omg I didn't even know this was possible but i had been wishing really really hard.

  • @Daniel15au
    @Daniel15au 6 หลายเดือนก่อน

    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.

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  6 หลายเดือนก่อน

      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.

  • @Pervy
    @Pervy 7 หลายเดือนก่อน

    Idk why I didn't think to use ansible with my Chezmoi setup..... out with bash in with ansible!!

  • @gdm_music
    @gdm_music 4 หลายเดือนก่อน

    but chemoi does allows you to add files outside of Home Directory like fstab

  • @pillmuncher67
    @pillmuncher67 11 หลายเดือนก่อน +3

    I'm using the _git bare_ method and I'm pretty happy with it.

    • @_Holy_Lance_
      @_Holy_Lance_ 4 หลายเดือนก่อน

      I am using gnu stow and for now is good enough. Chezmoi is better but at the moment is an overkill.

    • @atifchy_
      @atifchy_ 3 หลายเดือนก่อน +1

      ​​@@_Holy_Lance_I hate the symlink mess it creates

  • @TreeLuvBurdpu
    @TreeLuvBurdpu 9 หลายเดือนก่อน

    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?

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  9 หลายเดือนก่อน +3

      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.

    • @Serizon_
      @Serizon_ 7 หลายเดือนก่อน

      I am pretty sure you are underutilized ansible and there might be netter software to automatically install software

  • @MrXankiller
    @MrXankiller 11 หลายเดือนก่อน +1

    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

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  11 หลายเดือนก่อน

      That is good to hear! And gotta love a project with a good name.

  • @sphyrnidae6749
    @sphyrnidae6749 9 หลายเดือนก่อน

    Jesus Christ, your videos are amazing!❤ PLS MORE!!

  • @Redyf
    @Redyf 11 หลายเดือนก่อน +44

    NixOS: "Am I a joke to u?"

    • @malcolmkahora5318
      @malcolmkahora5318 11 หลายเดือนก่อน +11

      For real Nix with a single flake, makes dotfiles so trivial.

    • @CrazyLuke11
      @CrazyLuke11 10 หลายเดือนก่อน +2

      Literally thought the same! Home manager is just so overpowered 😂

    • @manwe_sulimo
      @manwe_sulimo 10 หลายเดือนก่อน

      😳

    • @jyothishkumar3098
      @jyothishkumar3098 10 หลายเดือนก่อน +9

      Having to learn Nix language is holding me off for the moment..

    • @ethernet764
      @ethernet764 10 หลายเดือนก่อน

      @@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.

  • @youseflourdx6531
    @youseflourdx6531 11 หลายเดือนก่อน

    Wow!
    What a nice thing to have

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  11 หลายเดือนก่อน +1

      Agreed, it makes life way easier when you work across different machines

  • @youngreda4410
    @youngreda4410 2 หลายเดือนก่อน

    your voice is hella nice bro

  • @mjc955
    @mjc955 6 หลายเดือนก่อน

    and here i was thinking that gnu stow was a great solution

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  6 หลายเดือนก่อน +1

      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.

    • @mjc955
      @mjc955 6 หลายเดือนก่อน

      @@CODE_IS_EVERYTHING honestly i think the key takeaway from this video for me was “i should learn ansible”

  • @alexstone691
    @alexstone691 9 หลายเดือนก่อน

    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

    • @alexstone691
      @alexstone691 9 หลายเดือนก่อน

      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

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  9 หลายเดือนก่อน +1

      Awesome, I'm glad to hear it. Having that idempotency is key for things like this where you'll run it over and over.

    • @alexstone691
      @alexstone691 9 หลายเดือนก่อน

      @@CODE_IS_EVERYTHING Only thing that is bugging me is a nice solution to automate my distrobox container

  • @Glicole_
    @Glicole_ 4 หลายเดือนก่อน

    nice

  • @jordonfrancisco9270
    @jordonfrancisco9270 10 หลายเดือนก่อน

    Is that stock gnome?

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  10 หลายเดือนก่อน

      Yeah it is. I’m a fan of the newer stock gnome, especially with the dark mode.

  • @vaisakh_km
    @vaisakh_km 11 หลายเดือนก่อน +3

    :) nothing beat nix....

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  11 หลายเดือนก่อน +8

      The things nix can do is awesome, though in the past I spent too long getting nowhere with it lol

    • @vaisakh_km
      @vaisakh_km 11 หลายเดือนก่อน +1

      @@CODE_IS_EVERYTHING XD ya... fair...