0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 2 years agoWe've all been there...sh.itjust.worksimagemessage-square57fedilinkarrow-up1658arrow-down15file-text
arrow-up1653arrow-down1imageWe've all been there...sh.itjust.works0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 2 years agomessage-square57fedilinkfile-text
minus-squared_k_bo@feddit.delinkfedilinkarrow-up68·2 years agoThat’s why you put your config files in a git repository
minus-squareskulbuny@sh.itjust.workslinkfedilinkEnglisharrow-up39·2 years agoSounds like Nixos with extra steps
minus-squareiopq@lemmy.worldlinkfedilinkarrow-up8·edit-22 years agoWhat do you mean? My NixOS config files are in a git repository
minus-squareŠtěpán@lemmy.cafelinkfedilinkEnglisharrow-up15·2 years agoEven the system files like those in /etc ?
minus-squarePoolloverNathan@programming.devlinkfedilinkarrow-up4·2 years agoThere’s also a distro for that
minus-squared_k_bo@feddit.delinkfedilinkarrow-up6·2 years agoNo. I only set up /etc/fstab and /etc/ssh/sshd_config once and they will never change.
minus-squareherrcaptain@lemmy.calinkfedilinkarrow-up9·2 years agoPackage 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
minus-squarefossphi@lemm.eelinkfedilinkEnglisharrow-up3·2 years agoShit, thanks for reminding me. I needed to take care of some pacdiff files
minus-squareexu@feditown.comlinkfedilinkEnglisharrow-up6·2 years agoYes. I use a hacky script to copy them to the right place
minus-squaredigdug@kbin.sociallinkfedilinkarrow-up4·2 years agoYou could set up btrfs snapshots, too. Of course, don’t forget to take a snapshot before you break your configs.
minus-squareloutr@sh.itjust.workslinkfedilinkarrow-up2·2 years agoWorks great on my laptop. It takes automatic snapshots before and after running the package manager, no problem so far.
That’s why you put your config files in a git repository
Sounds like Nixos with extra steps
What do you mean? My NixOS config files are in a git repository
Even the system files like those in /etc ?
There’s a tool for that
Of course there is. Love it.
There’s also a distro for that
I use NixOS btw ;)
No. I only set up /etc/fstab and /etc/ssh/sshd_config once and they will never change.
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
Shit, thanks for reminding me. I needed to take care of some pacdiff files
Yes. I use a hacky script to copy them to the right place
I do the same thing.
You could set up btrfs snapshots, too. Of course, don’t forget to take a snapshot before you break your configs.
deleted by creator
Works great on my laptop. It takes automatic snapshots before and after running the package manager, no problem so far.
deleted by creator