0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 6 months agoWe've all been there...sh.itjust.worksexternal-linkmessage-square58fedilinkarrow-up1657file-text
arrow-up1652external-linkWe've all been there...sh.itjust.works0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 6 months agomessage-square58fedilinkfile-text
minus-squared_k_bo@feddit.delinkfedilinkarrow-up68·6 months agoThat’s why you put your config files in a git repository
minus-squareskulbuny@sh.itjust.workslinkfedilinkEnglisharrow-up39·6 months agoSounds like Nixos with extra steps
minus-squareiopq@lemmy.worldlinkfedilinkarrow-up8·edit-26 months agoWhat do you mean? My NixOS config files are in a git repository
minus-squarestepan@lemmy.cafelinkfedilinkEnglisharrow-up15·6 months agoEven the system files like those in /etc ?
minus-squarePoolloverNathan@programming.devlinkfedilinkarrow-up4·6 months agoThere’s also a distro for that
minus-squared_k_bo@feddit.delinkfedilinkarrow-up6·6 months agoNo. I only set up /etc/fstab and /etc/ssh/sshd_config once and they will never change.
minus-squareherrcaptain@lemmy.calinkfedilinkarrow-up9·6 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-up3·6 months agoShit, thanks for reminding me. I needed to take care of some pacdiff files
minus-squareexu@feditown.comlinkfedilinkEnglisharrow-up6·6 months agoYes. I use a hacky script to copy them to the right place
minus-squaredigdug@kbin.sociallinkfedilinkarrow-up4·6 months agoYou could set up btrfs snapshots, too. Of course, don’t forget to take a snapshot before you break your configs.
minus-squarelud@lemm.eelinkfedilinkarrow-up1·6 months agoWouldn’t you need to use btrfs for that? How well does btrfs work with full disk encryption?
minus-squareloutr@sh.itjust.workslinkfedilinkarrow-up2·6 months 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.
Wouldn’t you need to use btrfs for that?
How well does btrfs work with full disk encryption?
Works great on my laptop. It takes automatic snapshots before and after running the package manager, no problem so far.
deleted by creator