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

linuxmemes

20839 readers
879 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
 

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 4 months ago (4 children)

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

[–] skulbuny@sh.itjust.works 39 points 4 months ago (1 children)

Sounds like Nixos with extra steps

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

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

[–] stepan@lemmy.cafe 15 points 4 months ago (3 children)

Even the system files like those in /etc ?

[–] exu@feditown.com 6 points 4 months ago (1 children)

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

[–] Rustmilian@lemmy.world 2 points 4 months ago

I do the same thing.

[–] d_k_bo@feddit.de 6 points 4 months ago (1 children)

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

[–] herrcaptain@lemmy.ca 9 points 4 months ago (1 children)

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 4 months ago

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

[–] digdug@kbin.social 4 points 4 months ago (1 children)

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 4 months ago (1 children)

Wouldn't you need to use btrfs for that?

How well does btrfs work with full disk encryption?

[–] loutr@sh.itjust.works 2 points 4 months ago

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