649
We've all been there... (sh.itjust.works)
submitted 1 month ago by 0x4E4F to c/[email protected]

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

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 68 points 1 month ago

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

[-] skulbuny 39 points 1 month ago

Sounds like Nixos with extra steps

[-] [email protected] 8 points 1 month ago* (last edited 1 month ago)

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

[-] [email protected] 15 points 1 month ago

Even the system files like those in /etc ?

[-] [email protected] 6 points 1 month ago

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

[-] [email protected] 2 points 1 month ago

I do the same thing.

[-] [email protected] 6 points 1 month ago

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

[-] [email protected] 9 points 1 month 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

[-] [email protected] 3 points 1 month ago

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

[-] [email protected] 5 points 1 month ago

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

[-] [email protected] 1 points 1 month ago

Wouldn't you need to use btrfs for that?

How well does btrfs work with full disk encryption?

[-] loutr 2 points 1 month 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
649 points (99.2% liked)

linuxmemes

19701 readers
637 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