653
We've all been there... (sh.itjust.works)

I usually use .bak... .old seems so... old.

you are viewing a single comment's thread
view the rest of the comments
[-] d_k_bo@feddit.de 68 points 3 months ago

That's why you put your config files in a git repository

[-] skulbuny@sh.itjust.works 39 points 3 months ago

Sounds like Nixos with extra steps

[-] iopq@lemmy.world 8 points 3 months ago* (last edited 3 months ago)

What do you mean? My NixOS config files are in a git repository

[-] stepan@lemmy.cafe 15 points 3 months ago

Even the system files like those in /etc ?

[-] exu@feditown.com 6 points 3 months ago

Yes. I use a hacky script to copy them to the right place

[-] Rustmilian@lemmy.world 2 points 3 months ago

I do the same thing.

[-] d_k_bo@feddit.de 6 points 3 months ago

No. I only set up /etc/fstab and /etc/ssh/sshd_config once and they will never change.

[-] herrcaptain@lemmy.ca 9 points 3 months ago

Package manager: This package contains an updated sshd_config file, would you like to replace your existing file with the package maintainer's updated file?

Me, every time: LOL, no

[-] fossphi@lemm.ee 3 points 3 months ago

Shit, thanks for reminding me. I needed to take care of some pacdiff files

[-] digdug@kbin.social 4 points 3 months ago

You could set up btrfs snapshots, too. Of course, don't forget to take a snapshot before you break your configs.

[-] lud@lemm.ee 1 points 3 months ago

Wouldn't you need to use btrfs for that?

How well does btrfs work with full disk encryption?

[-] loutr@sh.itjust.works 2 points 3 months ago

Works great on my laptop. It takes automatic snapshots before and after running the package manager, no problem so far.

this post was submitted on 25 May 2024
653 points (99.2% liked)

linuxmemes

20705 readers
458 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS