0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 4 months agoWe've all been there...sh.itjust.worksimagemessage-square51fedilinkarrow-up1169arrow-down10file-text
arrow-up1169arrow-down1imageWe've all been there...sh.itjust.works0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 4 months agomessage-square51fedilinkfile-text
minus-squared_k_bo@feddit.delinkfedilinkarrow-up17·4 months agoThat’s why you put your config files in a git repository
minus-squareskulbuny@sh.itjust.workslinkfedilinkEnglisharrow-up13·4 months agoSounds like Nixos with extra steps
minus-squareiopq@lemmy.worldlinkfedilinkarrow-up8·edit-24 months agoWhat do you mean? My NixOS config files are in a git repository
minus-squarestepan@lemmy.cafelinkfedilinkEnglisharrow-up4·4 months agoEven the system files like those in /etc ?
minus-squarePoolloverNathan@programming.devlinkfedilinkarrow-up4·4 months agoThere’s also a distro for that
minus-squared_k_bo@feddit.delinkfedilinkarrow-up2·4 months agoNo. I only set up /etc/fstab and /etc/ssh/sshd_config once and they will never change.
minus-squareherrcaptain@lemmy.calinkfedilinkarrow-up2·4 months 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-up1·4 months agoShit, thanks for reminding me. I needed to take care of some pacdiff files
minus-squareexu@feditown.comlinkfedilinkEnglisharrow-up1·4 months agoYes. I use a hacky script to copy them to the right place
minus-squaredigdug@kbin.sociallinkfedilinkarrow-up2·4 months agoYou could set up btrfs snapshots, too. Of course, don’t forget to take a snapshot before you break your configs.
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
There’s also a distro for that
I use NixOS btw ;)
Of course there is. Love it.
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
You could set up btrfs snapshots, too. Of course, don’t forget to take a snapshot before you break your configs.