0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 1 year 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 · 1 year agomessage-square57fedilinkfile-text
minus-squared_k_bo@feddit.delinkfedilinkarrow-up68·1 year agoThat’s why you put your config files in a git repository
minus-squareskulbuny@sh.itjust.workslinkfedilinkEnglisharrow-up39·1 year agoSounds like Nixos with extra steps
minus-squareiopq@lemmy.worldlinkfedilinkarrow-up8·edit-21 year agoWhat do you mean? My NixOS config files are in a git repository
minus-squareŠtěpán@lemmy.cafelinkfedilinkEnglisharrow-up15·1 year agoEven the system files like those in /etc ?
minus-squarePoolloverNathan@programming.devlinkfedilinkarrow-up4·1 year agoThere’s also a distro for that
minus-squared_k_bo@feddit.delinkfedilinkarrow-up6·1 year agoNo. I only set up /etc/fstab and /etc/ssh/sshd_config once and they will never change.
minus-squareherrcaptain@lemmy.calinkfedilinkarrow-up9·1 year 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·1 year agoShit, thanks for reminding me. I needed to take care of some pacdiff files
minus-squareexu@feditown.comlinkfedilinkEnglisharrow-up6·1 year agoYes. I use a hacky script to copy them to the right place
minus-squaredigdug@kbin.sociallinkfedilinkarrow-up4·1 year 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·1 year 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